Skip to main content

All Questions

Tagged with
0 votes
0 answers
41 views

Can't access Firestore data - alway return error 5 NOT_FOUND

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
2 answers
63 views

Firebase Functions v2 onCall returns 401 Unauthorized despite "auth: VALID" in logs

I'm encountering a persistent issue with Firebase Callable Functions (v2, Node.js 20 runtime) where calls from my React frontend consistently fail with a 401 Unauthorized error, even though the server-...
Mars M's user avatar
  • 1
0 votes
2 answers
84 views

Firebase Cloud Functions gen2 upgrade increased server costs

A few weeks ago I was forced to upgrade my Cloud Functions to gen2 and my node.js from version 16 to 22. After I made this update my firebase costs ballooned overnight by 4x. I have had to shut down ...
Edmund Rojas's user avatar
  • 6,616
-2 votes
0 answers
21 views

How to run firebase cloud trigger functions locally for testing? [duplicate]

I have trigger functions in my project, but when I change in that then I need to deploy every time. I want to test it locally without deploying it. Is there any way for it? Ex: OnUserCreated - ...
Chirag Parmar's user avatar
0 votes
1 answer
39 views

How do I specify Firebase Rules to allow an Admin user, in the same organization, be able to read documents belonging to other users

I have collections: users files (though there could be many different collections beyond files). Both have an email field, both have an organization field. I am looking to allow Admin users to read ...
David's user avatar
  • 1
3 votes
0 answers
69 views

Error with Firebase deploy, service account format issue

Error Message [info] Functions deploy had errors with the following functions: addmessage(us-central1) [debug] [2025-03-27T22:03:14.260Z] Not printing URL for HTTPS function. Typically this means it ...
Marco's user avatar
  • 31
0 votes
1 answer
33 views

Register Firebase Functions v2 by endpoint

I'm running Firebase Functions v2 with Express and I'm looking forward to understanding how I could register all endpoints so I can collect metrics independently. Hope I can get my self clear with the ...
guarinex's user avatar
  • 122
0 votes
0 answers
44 views

Passing parameters to a cloud function in Flutter

I'm having an issue calling cloud functions through my flutter app. The function seems to be going through according to the logs, but the values I pass in through Flutter are not making it to the ...
Max's user avatar
  • 1
0 votes
1 answer
126 views

firebase.auth.user().onCreate won't deploy because of "TypeError: Cannot read properties of undefined (reading 'user')"

This is my code: exports.createExample = functions.auth.user().onCreate((testUser) => { functions.logger.log("inside the auth trigger ", testUser.uid); return null; }); This trigger ...
stroopwafel's user avatar
-2 votes
0 answers
22 views

firebase rewriter to serve different html

I have a NX / React project that is deployed to firebase using firebase hosting. I recently wanted to implement a maintenance page and I did the following : having default app antry point and index....
Crocsx's user avatar
  • 7,662
-1 votes
1 answer
53 views

Typescript types for onRequest() handler function in firebase functions

Where can I import the correct typescript types for the onRequest() handler function parameters request and response for firebase functions 2nd gen. See this example: export const sayHello = onRequest(...
Jan's user avatar
  • 455
1 vote
1 answer
40 views

How to include FieldMask in Nearby Search (New)?

I am referring to Nearby Search (New). Every request requires a Field Mask set outside of the request proto. Could you explain how do I set this header with searchNearby using v1.PlacesClient? Is ...
Nir's user avatar
  • 113
0 votes
1 answer
66 views

What is the Response type of onRequest from firebase-functions/v2/https?

I am writing a simple code for Firebase Functions v2 in Node.js/TypeScript. I am struggling with the type definition of Response. According to documentation, HttpsFunction should be compatible to ...
Nir's user avatar
  • 113
0 votes
1 answer
37 views

Firebase Functions excessive latency

There is a significant performance degradation in a Firebase function I developed. This function handles payment reception via Stripe, generates a QR Code, and records data in multiple Firestore ...
Codeur 997's user avatar
0 votes
2 answers
84 views

(Tauri) Can't refresh access token in cloud function - invalid_grant

I'm experimenting with Google OAuth2.0 authorization and access token refreshing in a Firebase cloud function. In my Tauri desktop app I'm using Firebase's signInWithPopup() function in order to ...
Axel Productions 86's user avatar

15 30 50 per page
1
2 3 4 5
503