Upload base64 image to Firebase Cloud Storage using firebase-admin in nodejs
239 views
Skip to first unread message
Code Mickey
unread,
Jul 14, 2023, 11:50:47 AM7/14/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
I have a function in nodejs backend where I wish to upload images (base64 images) to my google cloud storage using firebase-admin package. I followed the documentation on adding a service account key to allow access and upload to the storage but I get an error whenever I try. I used the file.save() method but no success with error "Invalid response body while trying to fetch https://www.googleapis.com/oauth2/v4/token: read ECONNRESET". I need help. Thanks in advance