Google cloud storage 将对象插入谷歌云存储返回';没有这样的桶';

Google cloud storage 将对象插入谷歌云存储返回';没有这样的桶';,google-cloud-storage,google-api-php-client,Google Cloud Storage,Google Api Php Client,我使用谷歌api php客户端。 我正在使用服务帐户进行身份验证并接收令牌ok。 正在尝试使用Google云存储JSON api在Google云存储中插入对象 当尝试将对象插入BUCKET时,返回:NoSuchBucket指定的BUCKET不存在。但我可以保证它确实存在,正如我在web manager控制台中看到的,并且已经有我几天前上传的图像 完整的信息说: 调用POST时出错{我现有的bucket名称在这里}/o?uploadType=multipart&name=thec36b23baf2

我使用谷歌api php客户端。 我正在使用服务帐户进行身份验证并接收令牌ok。 正在尝试使用Google云存储JSON api在Google云存储中插入对象

当尝试将对象插入BUCKET时,返回:NoSuchBucket指定的BUCKET不存在。但我可以保证它确实存在,正如我在web manager控制台中看到的,并且已经有我几天前上传的图像

完整的信息说: 调用POST时出错{我现有的bucket名称在这里}/o?uploadType=multipart&name=thec36b23baf2778d.jpg:(404)

我可以确认bucket是否存在,因为在运行get_bucket时,我得到了一个200响应,其中包含完整的对象信息:

object(Google_Service_Storage_Bucket)[182]
  {.......}
  protected 'defaultObjectAclType' => string 'Google_Service_Storage_ObjectAccessControl' (length=42)
  protected 'defaultObjectAclDataType' => string 'array' (length=5)
  public 'etag' => string 'CAI=' (length=4)
  public 'id' => string '{here-goes-my-existing-bucket-name}' (length=42)
  {.......}
  public 'name' => string '{here-goes-my-existing-bucket-name}' (length=42)
  protected 'ownerType' => string 'Google_Service_Storage_BucketOwner' (length=34)
  protected 'ownerDataType' => string '' (length=0)
  public 'selfLink' => string 'https://www.googleapis.com/storage/v1beta2/b/{here-goes-my-existing-bucket-name}' (length=87)
  {.......}

这可能是API的问题吗?

谢谢您的报告

我们意识到这个问题,我们的工程师正在努力解决这个问题

同时,您应该能够使用
gsutil
作为临时解决方法


我们为给您带来的不便表示歉意。

Im也存在smae问题,而且bucket已经存在,并且有数百个文件。从今天早上开始,我遇到了相同的问题。此外,云控制台(web界面)中出现错误,尝试创建文件夹或上载对象时返回错误。这似乎是API上的一个普遍错误。伙计们,我们正在调查这个问题。你能在这里写下你的桶名吗?如果您不介意的话,您正在验证的用户和~/.boto中的默认\u项目\u id。您是否也意识到这个问题?似乎已经为我修好了。阅读这里这是一个暂时的问题,这是由我们的工程师修复后不久。看见