Hi.
I'm working on part of my project that. have to send image from Raspberry Pi to Firebase Storage.
First time that I tried to send file to Firebase Storage I had many problem , but i solve all of it.
But today when i try o upload image file from Rasphery Pi again, it's work, file are all uploaded to Firebase Storage.
But i can't open any of it. Then i try to upload image from my PC ans it's work, also can open image and download it too.
I write code in Python and this is my code.
from google.clound import storage
client = storage.Client()
blob = bucket.blob('photo/test.jpg')
blob.upload_from_filename(file='/home/pi/test.jpg')
from google.cloud import storage
client = storage.Client()
bucket = client.get_bucket('my-prohect.appspot.com')
blob = bucket.blob('photo/test.jpg')
blob.upload_from_filename(filename='/home/pi/test.jpg')
Rule on my firebasse Storage is public . So I think Raspberry Pi don't have problem about authentication// Or for this case i have to set any rule?
I try to create URL download on Firebase Console but there is error tell "Error Generating Download URL"
What should I do ?
Thank...