Skip to main content

All Questions

2 votes
1 answer
44 views

Incorrect argument error when trying to enqueue a task within a firebase function

I have a firebase function that attempts to enqueue a task with some data. Every time I call it I get the following two errors from the cloud run logs: requests.exceptions.HTTPError: 400 Client Error:...
yambo's user avatar
  • 1,860
0 votes
1 answer
37 views

How to await within a Firebase Cloud Function in Python [duplicate]

Can Firebase functions be marked as async? For example: async def async_function() -> str: print("async function starting") await asyncio.sleep(1) print ("async function ...
yambo's user avatar
  • 1,860
0 votes
0 answers
27 views

Firebase Cloud Functions Python - Loading service account path for different env

I am attempting to deploy my Python Firebase Cloud Functions, but have not been able to do so because I'm using the same code base to deploy to different environment. I have set up different Firebase ...
Koh's user avatar
  • 2,907
0 votes
2 answers
40 views

Defining memory for single firebase functions

For firebase triggered functions (for instance @on_document_created), how do I specify the memory assigned to single functions? The firebase.json file does not change a thing, all functions are at 256 ...
Raul Ponzheimer's user avatar
1 vote
0 answers
20 views

How to configure my firebase function runtime options during deployment?

I am trying to deploy a python firebase function that uses assertions. I want to disable these assertions in productions using "PYTHONOPTIMIZE": "1" or -o. Is there a way to ...
Moaz Eldefrawy's user avatar
0 votes
1 answer
52 views

Strange behaviour when using React Native Expo Linking Library. Server URL is not being updated

I am trying to use the React Native Expo Linking Library to define a user's google cloud firestore function endpoint. I have a server URL endpoint for dev mode - localhost:5000 and one for production -...
MattJ's user avatar
  • 141
0 votes
1 answer
31 views

Wikipedia python library not working when doing a firebase deploy

I am trying to get python's wikipedia library working in the google cloud. I get a "No module named 'wikipedia'" error when I try and deploy my firebase functions. [2024-11-20 15:32:31,620] ...
MattJ's user avatar
  • 141
0 votes
1 answer
181 views

Unable to get firebase app to deploy a simple request using python's Flask

I have the following main.py firebase function which I am trying to deploy using firebase deploy But when I curl the firebase endpoint I get a 404 error: curl -v https://us-central1-<project-id>....
MattJ's user avatar
  • 141
0 votes
1 answer
58 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
2 votes
0 answers
23 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
4 votes
2 answers
207 views

Firebase Firestore client cannot be deployed

I have an Firebase Cloud Functions codebase that uses Firestore database. Everything below works when I use it in local emulator using firebase emulators:start but when I need to deploy it to Firebase ...
haven-way's user avatar
0 votes
0 answers
23 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
1 vote
0 answers
59 views

How to convert Firestore timestamp to ISO 8601 in python?

I am writing a firebase cloud function in python to read data from firestore database and update it into the firebase realtime database, however I am facing an issue with converting the firestore ...
Nehal AK's user avatar
1 vote
1 answer
46 views

How to use cloud functions to create a document in Firebase Cloud Storage

I have created a Python cloud function to create a new document in Cloud Storage. It works well with firebase emulators:start, but I get an error when trying to call it from my application: cloud-...
Kantine's user avatar
  • 781
0 votes
1 answer
50 views

Firebase not automatically authenticating to invoke cloud functions

Cloud Function (Gen 2) (When I allow unauthenticated invocations, the function is called properly, and results are proper as well. However, issues occur when I configure the function to require ...
ethanworker's user avatar

15 30 50 per page
1
2 3 4 5
9