Reputation: 1515
I am using the default bucket name, but whenever I try to write a file, I get a 403 Forbidden
. It tries to write to a bucket named: app_default_bucket
.
This is the default bucket retrieved by file.DefaultBucketName(ctx)
.
Local file permissions also seem to be okay.
In production everything works as expected.
Upvotes: 0
Views: 169
Reputation: 10236
It's trying to write on your remote Google Cloud Storage account. Seems like a current bug. For now you might have to create/reconfigure the default bucket on your account.
Using the client library with the dev server not working in Go
Upvotes: 1