403禁止本地Google Cloud Storage通话
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.
我正在使用默认存储桶名称,但是每当我尝试写入文件时,都会得到一个 这是 本地文件权限似乎也是 p>
在生产中,一切都会按预期进行。 p>
div> 403 禁止代码>。 它尝试写入名为
app_default_bucket code>的存储桶。 p>
file.DefaultBucketName(ctx) code>检索到的默认存储桶。 p>
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