Open bmayfi3ld opened 8 years ago
Is this resolved? I have the same issue...
@birdchan did you find a fix for this issue? Just started happening in one of my projects now too.
If I remember correctly, it has something to do with the credential json file, giving bucket read/write access to that service account at the IAM portal. The app engine app once deployed has a default service account, which may be different from the service account you have in your local credential json file.
@birdchan thanks for responding. I found this issue https://issuetracker.google.com/issues/35900575 (and monkey patch fix) had been reported which seemed to be the problem I was having.
Trying to use the python client library with the development server. Each time I try to write to the bucket I get this error:
It works fine when deployed on app engine
my python code, pretty much taken directly from https://cloud.google.com/appengine/docs/python/googlecloudstorageclient/read-write-to-cloud-storage
abbreviated version
As I mentioned works perfectly when deployed.
Something else I discovered I can get it to give me a 404 not found error if I just try to open random files.