Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

ERR_NETWORK_IMPORT_DISALLOWED when I run `firebase emulators:start`

I am implementing a payment gateway. I am using Firebase Cloud Functions to run these APIs. I have a functions folder that has my functions and everything is set up for them. I am emulating the ...
M.Ismail's user avatar
0 votes
1 answer
27 views

run firebase emulator in spring boot test

I need to migrate some documents from one collection to another. This migration runs when the application starts up. It checks if the migration is finished, if it's not, it will run it otherwise it ...
Thomas E's user avatar
  • 521
0 votes
0 answers
20 views

Firebase storage unit tests: Timeout when trying to upload files using emulator

When running the below test via npm test, I get the following output: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure ...
Clare Sudbery SSE Ltd's user avatar
1 vote
0 answers
11 views

How to deploy to Firebase in non-interactive mode with safe defaults?

When deploying firestore and functions code with firebase-tools, there are three questions that can come up (I don't remember them literally): The following functions exist in your project but are ...
Thijs Koerselman's user avatar
0 votes
2 answers
74 views
+200

Firebase app hosting unable to retrieve secrets from cloud secret manager

I try to use cloud secret manager in combination with firebase app hosting, but app hosting can't fetch the keys from the secret manager when it's building. My apphosting.yaml file looks like this: ...
rafbanaan's user avatar
  • 441
0 votes
1 answer
37 views

Clear Firestore database after testing

I am running Android UI tests. I use a separate Firestore DB for testing. I want to delete all documents after a test finishes. This curl command works. curl -v -X DELETE "http://127.0.0.1:8080/...
akalanka's user avatar
  • 607
0 votes
1 answer
120 views

Getting PathNotFoundException: Cannot open file, path = 'flutter_app\android\build.gradle` after flutter 3.29.0 using firebase-cli

After upgrading to Flutter 3.29.0, Android build scripts have migrated to .kts files. When trying to connect my project to Firebase using the flutterfire CLI, I'm encountering a PathNotFoundException: ...
Munsif Ali's user avatar
  • 6,141
1 vote
0 answers
25 views

Firebase Realtime Database Emulator - Python Listener Not Triggering on Data Changes

I am running a Firebase Emulator with a Realtime Database and trying to create a listener in Python that detects changes inside the database. My Code: import os import firebase_admin from ...
Mr T's user avatar
  • 81
0 votes
1 answer
51 views

Which permissions do I need to deploy a Firebase Function?

I'm implementing some changes to an old somebody's project and I need to deploy a firebase function since its backend it's all on Firebase. The thing is that I've got the Cloud Functions Admin role, ...
Facundo's user avatar
  • 13
0 votes
0 answers
37 views

How to deploy firebase auth emulator on EC2 instance

I am trying to run firebase auth emulator on local and its running fine on local but not run on EC2 instance and i am facing issues that are stated below { "projectId": "bubble-dev-...
M Umair's user avatar
1 vote
1 answer
39 views

How to use react-native-firebase auth emulation?

im using react-native-firebase v21.6.1 and im trying to start the auth service emulation. Ive gotten the firestore and functions emulation working. firebase.json "emulators": { "...
benwl's user avatar
  • 492
0 votes
1 answer
59 views

Dealing with Firebase hosting issues

I have a flutter web app that I used firebase for its database, authentication and deployment, but whenever I deploy I only see this screen. this is the firebase.json file { "database": { ...
Ali Hossam's user avatar
0 votes
0 answers
39 views

FirebaseError: Could not detect runtime for functions

I'm trying to deploy a Vite+React+SSR app to Firebase, but Firebase won't recognize the runtime for my server script. I've created a file – server/index.js – running Express.js for SSR rendering of ...
Johan Martin Aarstein's user avatar
0 votes
0 answers
54 views

While using Firebase emulator, FireStore transaction triggers cloud function (onDocumentUpdated) when it is not supposed to

In my project, I am using FireStore, Cloud Functions, and Firebase emulator in the backend while using Flutter in the backend. I have a transaction that reads a profile document and then uses the ...
Aimn Blbol's user avatar
  • 1,285
0 votes
1 answer
49 views

firebase login fails to make request to https://auth.firebase.tools/attest

I'm running firebase login but it fails with Error: Failed to make request to https://auth.firebase.tools/attest What could be the issue? I installed firebase with npm install -g firebase-tools
Valentin Vignal's user avatar
0 votes
1 answer
56 views

Firebase Authentication Emulator in Flutter on Android: `Logging in as [email protected] with empty reCAPTCHA token`

I’m trying to use the Firebase Authentication Emulator with Flutter on Android, but I’m encountering an issue during signInWithEmailAndPassword. It logs the following message: FirebaseAuth: Logging ...
aanas.sayed's user avatar
0 votes
1 answer
41 views

Cloud Run service `app` does not exist in region `us-central1` in this project

I keep getting the following error when deploying to firebase. firebase.json [ { "config": { "public": "static", "ignore": [ "...
田中幹弥's user avatar
0 votes
1 answer
25 views

How can you kill all queued and running Firebase Emulator functions?

I'm working with Firebase Emulators to test production code locally. To do this I need to load state from a file into Firestore. This works fine, but I'm having an issue because I have listeners on ...
Connor's user avatar
  • 1,094
0 votes
0 answers
41 views

firebase/storage-resize-images fails to deploy after installation

After installing firebase/[email protected] via command line as: firebase ext:install firebase/[email protected] After this, I go through all the steps. As part of the logs ...
KhoPhi's user avatar
  • 9,537
0 votes
1 answer
27 views

How to synchronize Python scripts and Espresso tests for E2E testing with Firebase Realtime Database?

I have developed an Android app that integrates with Firebase Firestore and Realtime Database. I now want to perform End-to-End (E2E) tests that involve Firebase. Test Setup: I am using Espresso for ...
Mr T's user avatar
  • 81
1 vote
2 answers
32 views

Is using your production firebase object when using firebase emulators an acceptable practice? [closed]

I have initialised my firebase app as follows. const PRODUCTION = false; let firebaseConfig = { apiKey, ... }; // Initialize Firebase // Check if any Firebase apps exist const apps = getApps(); /...
Matteo B's user avatar
1 vote
0 answers
58 views

Error: Could not find "dataconnect.yaml" in "C:\Users\..my_project\dataconnect"

I run in to this error while running firebase emulators:start (node:8440) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --...
Sireen Ibnu Kabeer's user avatar
0 votes
1 answer
32 views

Avoiding duplicate data in a Realtime Database

In a realtime database (on Firebase), I have the following rules for the collection called Resource: { "rules": { .... "Resource": { ".read": true, ...
Michel's user avatar
  • 11.8k
0 votes
1 answer
30 views

Firebase Emulators: How to emulate specific functions in subfolders

I'm trying to emulate only specific Cloud Functions within my Firebase project. My functions are organized in subfolders within a "functions" directory. My folder structure looks like this: ...
Shamil Jamion's user avatar
0 votes
1 answer
38 views

fluttterfire configure Failed to parse JSON response from Firebase CLI

I'm trying to connect my flutter application to firebase and I see that I can implement this by using the flutterfire CLI. I started by installing firebase CLI by using: npm install -g firebase-tools ...
hadesy's user avatar
  • 9
2 votes
0 answers
28 views

running mocha in the context of a npm script works but running it directly from command line does not

So when I run npm run test_w_emulator or npm run test_w_pure my mocha test completes properly package.json "scripts": { "test_w_emulator": "sh ./test.sh", "...
Mykal Thomas's user avatar
0 votes
0 answers
127 views

How to Fix Firebase Deploy Unexpected Error Occured?

firebase deploy --only hosting === Deploying to 'PROJECT'... i deploying hosting i hosting[PROJECT]: beginning deploy... i hosting[PROJECT]: found 55 files in public - Error: An unexpected error ...
cookie jar's user avatar
1 vote
1 answer
61 views

Local emulated Firestore returns empty DataSnapshot to Android emulator but works with Cloud Firestore

I'm trying to test my Android app, which uses data from Firebase Firestore. However, I have an issue when querying data using my local running Firebase Firestore Emulator and the Android Emulator. ...
Mr T's user avatar
  • 81
0 votes
1 answer
122 views

Could not create or update Cloud Run service handlestripewebhook, Container Healthcheck failed

Trying to deploy firebase functions with a Stripe webhook with Svelte5. I set the secrets: firebase functions:secrets:get STRIPE_SECRET_KEY firebase functions:secrets:get STRIPE_WEBHOOK_SECRET ...
Hud's user avatar
  • 301
0 votes
1 answer
48 views

I cannot read from Firebase Realtime Database Emulator (but I can when using the production database)

I am a new Android developer and am using Firebase Emulator to test my project during development. My project uses both Firebase Auth and Firebase Realtime Database. When connected to the emulator, ...
wwedwa's user avatar
  • 11
0 votes
1 answer
47 views

How to access Firebase emulator from .NET app/integration tests

I have a docker hosted firebase emulator, accessible from localhost:4000 I can't figure how to access firebase emulator from dotnet app/integration tests (firebase-admin-dotnet nuget) outside of ...
SilentTremor's user avatar
  • 4,922
0 votes
1 answer
19 views

how to add indexOn to realtime database emulators [duplicate]

I'm trying to add .indexOn to fireabase.json for using sort and filter on realtime database emulator. But no matter what I do same error, error code below, keep occuring. InvalidArgumentError: Index ...
Akira Yoshimura's user avatar
0 votes
1 answer
47 views

Getting Error when deploying python functions to firebase server

I am trying to upload my python server functions using firebase deploy When I run this command I get the following error: Error: Failed to find location of Firebase Functions SDK. Did you forget to ...
MattJ's user avatar
  • 141
1 vote
1 answer
17 views

flutter web make invalid path error when using realtime database emulator

I'm working with flutter and realtime database emulator. When i try to read from database by using .get() following error occur. Error: child failed: path argument was an invalid path = "http://...
Akira Yoshimura's user avatar
2 votes
1 answer
46 views

How can I avoid a read error from the Cloud Storage emulator?

I have closed access for some rules, to authorise only Firebase Admin SDK from a Cloud Functions, to read or write a file in Cloud Storage. storage.rules content: rules_version = '2'; service ...
bgrand-ch's user avatar
  • 1,288
1 vote
1 answer
36 views

firebase.auth().useEmulator() takes a non-empty string URL

THE PROBLEM When I run the command: npx expo run:android or npx expo start --reset-cache My Android Cellphone is connected on my USB port. I get this error: firebase.auth().useEmulator() takes a non-...
danilo's user avatar
  • 9,415
0 votes
2 answers
244 views

Failed to parse JSON response from Firebase CLI. JSON response: FormatException: Unexpected end of input (at character 1)

I am trying to setup my firebase project with flutter app. I was already using flutter successfully with no problems and was using firebase before they added this CLI method. I have successfully ...
aly ashry's user avatar
1 vote
0 answers
21 views

Double Execution of Firebase Function in Emulator Environment

I've noticed that when running in the Firebase emulator environment, modifying the function and making a single GET request for the first time causes the function to execute twice: @https_fn....
Cheok Yan Cheng's user avatar
0 votes
2 answers
240 views

Can't init firebase cloud storage due to cloud resource location

I’m using Firebase emulators to develop and test Cloud Functions locally, and one of my use cases involves uploading a file to Cloud Storage. As part of this process, I initialize Firebase emulators ...
Fabio Moggi's user avatar
0 votes
1 answer
38 views

Flutter Firebase Notification Intigration - dart pub global activate flutter_cli fails

I want to integrate the Firebase Push Notification in my Flutter App. flutter --version Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision 2663184aa7 (7 ...
Maverick's user avatar
0 votes
1 answer
31 views

Using the Firebase CLI with a non-default DB

When using Firebase there is a CLI command to get the contents of some collection in a DB. It goes like this: firebase database:get /DBPath-tocollection --output myfile.json and it works very well. ...
Michel's user avatar
  • 11.8k
0 votes
0 answers
55 views

How can I fix "Invalid value at 'version.config.rewrites[0]" with Firebase hosting configuration?

Let me give you some context, I'm trying to change the redirection of a function that is in the US region to a European region in an Angular project. Previously, the configuration was like this in the ...
ReaDeveloper's user avatar
0 votes
0 answers
31 views

Firebase init, deploy no errors; but why the website not showing

I did npm npm run build, firebase init and firebase deploy on vscode. (base) PS C:\xampp\htdocs\episode2> firebase deploy === Deploying to 'azlife-a8cb2'... i deploying hosting i hosting[azlife-...
Alex's user avatar
  • 69
1 vote
0 answers
36 views

Google Cloud Run Function v2 - erratic trigger [duplicate]

PLEASE NOTE: This question is related to my previous question (Deployment of Google Cloud Run Function v2 - trigger not invoked / run), but is regarding a different specific problem. I am migrating my ...
Kermit's user avatar
  • 3,417
0 votes
0 answers
22 views

firebase function unknown error occur on emulator

I was testing firebase function on firebase emulator and unknown error occured. Function I was testing is simple example below. @https_fn.on_request() def test_n2(req: https_fn.Request) -> https_fn....
Akira Yoshimura's user avatar
0 votes
1 answer
342 views

Deployment of Google Cloud Run Function v2 - trigger not invoked / run

I am migrating my Google Cloud Run Functions from v1 and Node 12 to v2 and Node 20. So far I have upgraded onSchedule and onMessagePublished triggers with no problem. When trying to deploy Realtime ...
Kermit's user avatar
  • 3,417
0 votes
0 answers
25 views

Firebase function deploy fail after made multiple functions

When I try to deploy multiple functions, following error occur and don't have any clue to fix the issue. Error: spawn "C:\Users\user\functions\first_update\venv\Scripts\activate.bat" ENOENT ...
Akira Yoshimura's user avatar
2 votes
2 answers
51 views

How to update the rules of multiple RTDB instances using the firebase tools?

I would like to run firebase deploy --only database and it deploys the Firebase Real time database rules for each of my databases instances. I would like the config of firebase.json / .firebaserc and ...
Tom3652's user avatar
  • 2,967
0 votes
2 answers
48 views

Firebase project deploying to old deleted project

I am trying to deploy a new firebase project (fit-prototype-v0 below), but it keeps deploying to an old project (fit-test-for-readme). I deleted the old project, and now get the error below. I'm ...
Adam_G's user avatar
  • 7,879
0 votes
0 answers
213 views

Fixing Error: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) by double checking package name

I'm using Flutter for the front end and this error PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) surfaced when I was trying to integrate the google sign ...
navaneethku's user avatar

1
2 3 4 5
22