Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
65 views

I want to get the custom claims for a user in a react-router app on the loader/action that run on the server. To do that, I am calling the User's method getIdTokenResult(false): const authIdToken = ...
jigjig's user avatar
  • 11
0 votes
1 answer
104 views

I am migrating a generation 1 node.js google cloud functions to generation 2 cloud run. It uses a onDocumentCreated function to create and save a file to cloud storage built from a collection of data ...
Steve Klock's user avatar
2 votes
1 answer
76 views

I have two Firebase Cloud Functions with onDocumentCreated triggers. The issue is that when my delete function tries to delete a document that doesn't exist, it somehow triggers the checker function, ...
HouseOfCode's user avatar
0 votes
1 answer
67 views

i am trying to send push notification like below: const { getFirestore } = require('firebase-admin/firestore'); const { initializeApp } = require('firebase-admin/app'); const { https } = require('...
Moblize IT's user avatar
  • 1,338
0 votes
1 answer
98 views

Firestore transaction is taking 2 minutes consistently. So my 1 cloud function is taking several minutes to execute. I just changed it all without transactions, and it is executed within seconds. I am ...
coolcool1994's user avatar
  • 3,810
0 votes
0 answers
33 views

I am trying to put an object into my RTDB instance at the position rooms/${roomID}. I am running the following code, using the firebase admin API for node.js, but the await ref.child(roomID).set(data) ...
Greg Schoppe's user avatar
1 vote
0 answers
638 views

Hello Stack Overflow community, I am experiencing a persistent and puzzling issue with a Firebase Cloud Function (Node.js 22, 2nd Gen) that fails to send Firebase Cloud Messages (FCM) to a topic. The ...
Dexi Extrem's user avatar
0 votes
1 answer
831 views

I'm trying to access Firestore collection from NodeJS. The database is not the default one but is gymapp-data and project is gymapp-xxxxx. No security rules actived: I'm using the service account ...
loreeemartiii's user avatar
0 votes
0 answers
53 views

I've written this js code for a firebase cloud function for a realtime database: const { onValueUpdated } = require("firebase-functions/v2/database"); const admin = require("firebase-...
Mihai Condrici's user avatar
1 vote
1 answer
2k views

Recently, I've been working on a new feature for my project. But I encountered lot of issues with the back-end while implementing the feature. // Use messaging() directly from firebase-admin ...
ShibaDev's user avatar
0 votes
1 answer
116 views

I am trying to get server-rendered data containing user information. I am using a service worker to attach an "Authorization" header including the Firebase Auth idToken as described in ...
samurai jack's user avatar
6 votes
1 answer
299 views

Up until recently I was able to run queries with the Firebase SDK using Node.js. Now I am getting a message that ACCESS_TOKEN_EXPIRED but I created a new key and the expiration is never. If I see in ...
lesolorzanov's user avatar
  • 3,654
0 votes
0 answers
54 views

I'm trying to verify a token generated by Firebase ADMIN. Here's the flow: A function in Firebase ADMIN is called. const additionalClaims = { veiculoId, sinistroId }; const token = await getAuth()....
ridermansb's user avatar
  • 11.1k
2 votes
0 answers
306 views

I'm encountering an issue when trying to use firebase-admin with Firestore in my project. Despite having both firebase and firebase-admin installed via npm, I'm seeing the following error when running ...
Zuhayr's user avatar
  • 21
3 votes
1 answer
223 views

I'm trying to debug why writes to the local Firestore emulator from a Node.js script on my laptop aren't visible in the emulator GUI, and why the Node.js script gets different data from what I see in ...
Dan Dascalescu's user avatar

15 30 50 per page
1
2 3 4 5
57