Skip to content Skip to sidebar Skip to footer

Firebase Storage Upload File -python

I need some help I am using python 3.6 to upload a file to firebase storage, but I couldn't get a reasonable result . import firebase_admin from firebase_admin import credentials,

Solution 1:

Try changing 'gs://dene-2ac17.appspot.com' with 'dene-2ac17.appspot.com' as explained here.

Use a default bucket

You can specify a default bucket name when initializing the Admin SDK. Then you can retrieve an authenticated reference to this bucket. The bucket name must not contain gs:// or any other protocol prefixes. For example, if the bucket URL displayed in the Firebase Console is gs://bucket-name.appspot.com, pass the string bucket-name.appspot.com to the Admin SDK.

Post a Comment for "Firebase Storage Upload File -python"