Skip to content Skip to sidebar Skip to footer

Notfounderror: Expect Status [200] From Google Storage. But Got Status 404 While Reading A File

I have created a bucket in google storage and uploaded a sample text file and gave owner permissions. Using the code in google docs, I am trying to read the uploaded text file (tes

Solution 1:

Try:

bucket_name = os.environ.get('BUCKET_NAME', 'bucket-name-12345.appspot.com')
filename1 = 'https://storage.googleapis.com/' + bucket_name + '/test.txt'

Post a Comment for "Notfounderror: Expect Status [200] From Google Storage. But Got Status 404 While Reading A File"