All Questions
Tagged with firebase-admin python
213
questions
0
votes
1
answer
34
views
Firebase-admin sdk for Python raise error "StreamGenerator" is not iterable
Previously(a week ago) my Python code for communicating with Firestore works perfectly fine. But today I started working on it again, it raise error when iterating the collection.stream()
...
0
votes
0
answers
18
views
Issue with Data-Only Push Notifications Displaying in FCM
I'm using FCM to send push notifications to mobile devices with a Python backend, specifically using the firebase_admin library. I'm sending both data-only and notification messages. Here are the ...
0
votes
0
answers
32
views
Errno 110 Connection timed out in firebase admin python lambda
I'm trying to create a lambda python api that can send notification to a user device but I'm encountering Connection Timed Out error.
Also tried already to set the timeout in lambda to 1 minute but ...
0
votes
0
answers
23
views
Firebase admin authentication works in interpreter but fails in production
I'm interfacing with the resources of a firebase project.
From a VM in GCP I am using python to get information from the database and files from the bucket. The VM has gcloud installed and the VM is ...
0
votes
0
answers
42
views
Is the Python Firebase Admin SDK able to handle concurrently uploading files to the Storage bucket?
I am trying to develop a Python FastAPI based web-server that will allow users to upload files to Firebase Storage, however my question is not related to the programming language or library being used,...
0
votes
0
answers
60
views
Firebase Admin SDK: Authentication failed using Compute Engine authentication due to unavailable metadata server
When I try to send a push notification with firebase admin sdk from my own Django server. I get this error: Authentication failed using Compute Engine authentication due to unavailable metadata ...
0
votes
1
answer
36
views
Program freezes when trying to add a doc to firestore DB with Flask server with Cloud Run
I have the following code which I'm trying to run on my Cloud Run server:
cred = credentials.Certificate("firebaseCertificate.json")
firebase_admin.initialize_app(cred)
app = Flask(__name__)...
0
votes
2
answers
65
views
Firebase , Active Directory - Will AD users get created in Firebase as well?
I am reading about integrating Azure AD with Firebase so that our corporate customers can use our system using their accounts.
My question is:
When a user with an email [email protected] signs in using AD for ...
0
votes
0
answers
85
views
Python Firebase SDK throws error "The registration token is not a valid FCM registration token"
I have the following code snippet:
from firebase_admin import messaging
import firebase_admin
import os
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "key.json"
default_app = ...
0
votes
1
answer
168
views
Update firebase messaging using python and django
I am using Firebase Admin SDK in Python.
//import sdk
import firebase_admin
from firebase_admin import credentials, messaging
//saved json credentials from google in a private storage
json_file = ...
0
votes
1
answer
581
views
ModuleNotFoundError: No module named 'firebase_admin' after installing firebase
I'm getting ModuleNotFoundError: No module named 'firebase_admin' after installing firebase i.e. I've performed the following steps:
Open the console and install firebase via pip3 install firebase-...
0
votes
0
answers
270
views
Get Firestore documents of a collection by document ID (Python)?
In Python I am using the firebase_admin python sdk to query the Firestore database.
I want to get the documents of a collection by filtering the document_id, however I did not find any working ...
0
votes
0
answers
100
views
When requesting via python using firebase-admin in firestore, the program freezes
I created a regular project on firebase, connected firestore there, generated a private key, wrote a simple code for adding an element to the collection, but the program freezes on the line of the ...
0
votes
1
answer
418
views
Is it possible to add TOTP multi-factor authentication using the Firebase Admin Python SDK?
I'm having a bit of trouble navigating through some of the firebase documentation. I utilize the Firebase JS SDK on my web app and the Firebase Admin SDK (Python) within my back-end. I've enabled ...
0
votes
1
answer
49
views
How to enable offline features on firebase_admin in Python?
Is there any other way to run offline mode in python firebase_admin