Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

I'm trying to deploy a Firebase Cloud Function (2nd gen) but keep getting the same npm ci error about package.json and package-lock.json being out of sync, even after completely deleting and ...
ecoder's user avatar
  • 23
-1 votes
0 answers
52 views

So I have a simple project of firebase functions, I gonna put here the index: import { onRequest } from "firebase-functions/v2/https"; import { initializeApp } from "firebase-admin/app&...
Ricardo Cardona's user avatar
0 votes
1 answer
38 views

I can not for the life of me figure out why this is complaining. I was able to make an onCall function just fine (removed it here)... but when I make a firebase auth onCreate function, the get the ...
letsCode's user avatar
  • 3,106
1 vote
0 answers
43 views

I'm stuck getting a "permission denied" error when using the gmail googleapi in a firebase cloud function to "import" syntetic emails to a workspace email box. I've followed this ...
phosph's user avatar
  • 31
1 vote
1 answer
65 views

Situation This is pretty much my first experience with cloud tools. I'm trying to enqueue (schedule) a cloud task from a cloud function which gets called from my flutter app, the task would at the ...
ThisIsSidam's user avatar
1 vote
0 answers
65 views

I am migrating my Firebase Cloud Functions project from v1 to v2. Since Auth triggers are not yet available in v2, I still have auth triggers in v1 — but all my Firestore triggers are now v2. All of ...
Abhijeet Kharatmol's user avatar
0 votes
0 answers
48 views

package.json { "name": "functions", "scripts": { "lint": "tslint --project tsconfig.json", "build": "tsc", "...
Moblize IT's user avatar
  • 1,338
0 votes
0 answers
63 views

I have a function in Cloud Run that takes files from a bucket, loads them to BigQuery and then deletes them. It is activated using the Cloud Scheduler and an HTTP call. To avoid processing the same ...
Alon.b's user avatar
  • 61
0 votes
0 answers
74 views

I'm trying to access google ads accounts in js. Here's how I do the callback mechanism: ... const { clientId, userId } = JSON.parse(state); const oauth2Client = new google.auth....
Mamoudou Kane's user avatar
0 votes
0 answers
69 views

I'm trying to upload a file to the OpenAI API using Firebase Cloud Functions, Express and Multer. I have a React UI that I'm using to upload a file to my back end to then send to the OpenAI API, but I'...
Aidan Gordon's user avatar
0 votes
1 answer
41 views

I'm trying to call a Firebase Cloud Function from my React Native Expo app to send invoice emails. The function deploys successfully, but when I call it from the app, I get a FirebaseError: not-found ...
Ronan power's user avatar
1 vote
0 answers
72 views

I am using Firebase Authentication blocking functions (Gen-2) with Cloud Run services for: • beforeUserCreated • beforeUserSignedIn Problem When Cloud Run security is set to Require authentication ...
M4trix Dev's user avatar
  • 2,354
1 vote
1 answer
56 views

I was able to successfully send this email with a onRequest call, but I would like to convert these on onCall Firebase calls. Here in my function below. For the sake of privacy, I removed the company ...
letsCode's user avatar
  • 3,106
1 vote
0 answers
52 views

Goal: I am trying to call a 2nd Gen Google Cloud Function (Python, private/requires authentication) from Google Apps Script (GAS). The Problem: The execution consistently fails. When ScriptApp....
Jinnosuke Yamada's user avatar
0 votes
0 answers
135 views

I am trying to build a Google Chat App that calls a Cloud Run function as the logic. I am assuming the GCP interfaces must have recently changed/updated because a lot of the guides and troubleshooting ...
user3685566's user avatar
1 vote
1 answer
76 views

I have a new project that I am just starting to build some Express endpoints for. It deployed with a URL in the format of https://app-[random string].run.app/ instead of the expected format of https:/...
Matthew Michaud's user avatar
1 vote
0 answers
105 views

I can no longer deploy my Firebase functions. Starting sometime last week, my deployments fail with the following error: "error": { "code": 400, "message": "...
Emmanuel Rosario's user avatar
0 votes
1 answer
109 views

I have created a Vertex AI chat agent and embedded it into the NextJS app using the conversation messenger. Below is the code snippet. <df-messenger location="xxxxxxx" project-id=&...
user31535781's user avatar
2 votes
0 answers
122 views

I have a set of functions that we run on our QA project, our Staging Project and the Prod project. All the same Code. The exact same code deploys successfully on the QA project and the staging project....
Deji James's user avatar
0 votes
0 answers
47 views

I specified the deployment region of all my v1 CFs to be europe-west1 import * as functions from "firebase-functions"; functions .region(environment.DEPLOYMENT_LOCATION) .runWith({ ...
Ibrahim Itani's user avatar
0 votes
1 answer
62 views

With all nodejs packages updated, trying to publish message to topic ends on timeout with error: GoogleError: Total timeout of API google.pubsub.v1.Publisher exceeded. Error: Getting metadata from ...
Dast's user avatar
  • 24
1 vote
1 answer
86 views

Consider 2 Android projects with Firebase backends (identical code for purchase validation with onMessagePublished). First one is working correctly and the second is not. androidpublisher.purchases....
Dani Dobre's user avatar
0 votes
0 answers
17 views

I’m building a Flutter app with Firebase (Firestore + FCM). Each user has an up-to-date FCM token stored in Firestore. I have verified that tokens are valid, and I can send push notifications ...
Eden Corporation's user avatar
0 votes
0 answers
190 views

My goal is to write tests that: Simulate multiple concurrent HTTP POST requests to a cloud function endpoint (e.g., 2-3 identical webhooks arriving almost simultaneously). Verify database side ...
HouseOfCode's user avatar
1 vote
0 answers
65 views

I have an environment with Node.js in which I run some cloud functions from Firebase. I wanted to try to migrate them to V2, starting with the simplest of them. After changing a couple of lines of ...
Biel Bonany Gil's user avatar
0 votes
1 answer
59 views

I'm working on a simple order form using a single HTML/React front-end and a Firebase Cloud Function backend to handle Stripe payments. I'm stuck on a persistent issue where my backend function ...
Frank's user avatar
  • 1
0 votes
1 answer
67 views

I'm using "@react-native-firebase/firestore": "^23.1.1", "@react-native-firebase/functions": "23.1.1" "@react-native-firebase/app": "^23.1.1"...
Roy Lee's user avatar
0 votes
2 answers
82 views

I have deployed a Cloud Run Function and am frequently seeing this error: 2025-08-26 13:08:18.052 PDT DEBUG: False 2025-08-26 13:08:18.052 PDT Type of DEBUG: <class 'bool'> 2025-08-26 13:08:18....
Chris's user avatar
  • 67
0 votes
1 answer
89 views

I have a Node.js 20 Cloud Function that uses the Firebase Admin SDK. One of the functions (checkExpiredActivities, a v2 scheduled function - Xcode Live Activity) needs to send an APNs push ...
Raül Hernández Gracia's user avatar
0 votes
1 answer
96 views

I am encountering a persistent 404 Not Found error when attempting to call the gemini-1.5-pro-preview-0409 model from the Vertex AI API within a service in my Google Cloud project. This issue persists ...
Mauro Nadvorny's user avatar
0 votes
2 answers
290 views

I’m building a very simple Google Chat App on Cloud Functions (2nd gen) (Python). The app should just reply "OK" when I send a message from mail.google.com/chat. But in the logging error ...
mesompi's user avatar
  • 699
2 votes
1 answer
76 views

I'm building a Flutter app and I'm stuck on a very strange issue where a specific Firebase Cloud Function fails to run, while another one works perfectly. The Goal: I have a Flutter app that calls a ...
Garrett Lapham's user avatar
1 vote
1 answer
105 views

I'm building a Flutter app with a Firebase Cloud Functions backend using TypeScript. I'm running into persistent TypeScript errors when I try to deploy, even after a complete reinstallation of my ...
Garrett Lapham's user avatar
4 votes
1 answer
133 views

I have a React Native project using Firebase, and I’m facing an issue with Google Cloud Functions. After moving my code to a new React Native project, every Cloud Function call returns an "...
cross's user avatar
  • 41
6 votes
1 answer
236 views

I have a Firebase project with a mobile app (Flutter) that uses callable Cloud Functions. From the app, I invoke them with the Firebase SDK like this: const functions = firebase.functions(); const ...
HouseOfCode's user avatar
0 votes
0 answers
120 views

When I am trying to call a firebase cloud function from my react.js frontend using the onCall method, I am getting a 401 Error getting reply- User not authenticated error. I know this question has ...
anish's user avatar
  • 27
0 votes
0 answers
42 views

General Question If I use both setGlobalOptions() from Firebase Cloud Functions v2 with the CF individual configuration, to inject secrets on runtime. Will the setGlobalOptions() overwrite the ...
Ibrahim Itani's user avatar
0 votes
1 answer
62 views

I'm building a football match prediction system using JavaScript and Firebase. Users can make predictions on match results, and for users who don’t submit a guess, I want to automatically assign a ...
Stam Mashu's user avatar
0 votes
1 answer
74 views

In the Firebase Console, when showing the list of functions, what determines the order in which the functions are displayed? I am in the very early stages of a project and already have 16 functions, ...
Nerdy Bunz's user avatar
  • 7,743
0 votes
1 answer
79 views

I’m facing a puzzling issue with a Firebase callable function (onCall) deployed via Cloud Functions v2 (on Cloud Run, Node.js 18/20). Even though: the client is signed in (getAuth().currentUser is ...
Alexis C. Gridel's user avatar
1 vote
1 answer
32 views

I am trying to update a file named blues.cts because a function named fetchAllPacks uses it to update the client. I was wondering if, without updating the functions, I could update the JSON data in ...
funfoxrr's user avatar
0 votes
0 answers
55 views

I recently upgraded to the latest versions of firebase-tools -> 14.10.1, firebase-admin -> 13.4.0, and firebase-functions -> 6.3.2. After the upgrade, I am no longer able to deploy the ...
Varun Gupta's user avatar
  • 3,164
2 votes
1 answer
69 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
1 vote
1 answer
60 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
0 answers
48 views

I'm implementing Razorpay webhooks using Firebase Cloud Functions and running into a FAILED_PRECONDITION error when querying Firestore. The webhook handles Razorpay account status updates (activated, ...
SANKET SALVE's user avatar
1 vote
1 answer
76 views

I have a Google Cloud Function (v2) written in Node.js/TypeScript that is triggered by a Pub/Sub topic for Google Play Store notifications. The function's goal is to verify a purchaseToken with the ...
ranzadev's user avatar
0 votes
1 answer
142 views

Problem I'm trying to create a CI/CD pipeline for a set of Cloud Functions stored in a GitHub repository. I've already linked the repository to Cloud Build and created YAML files for each function ...
lapiceroazul4's user avatar
1 vote
0 answers
33 views

I'm facing a persistent deployment issue after refactoring my Cloud Functions from a single large index.js file into an organized folder structure as recommended in the documentation. The deployment ...
Benedikt Herlt's user avatar
0 votes
1 answer
70 views

I am trying to get the invertase extension to work with metered pricing but I keep getting the error: {message: 'Quantity should not be specified where usage_type is metered. Remove quantity from ...
Sarthak Garg's user avatar
0 votes
0 answers
54 views

I am trying to add a function to my mobile application to send e-mails with registration code to the users of the app and it's always failing with the same error, E-mail=undefined. I will show also ...
Vanina Dimitrova's user avatar

1
2 3 4 5
371