Note that there are some explanatory texts on larger screens.

plurals
  1. POInsert object into google cloud storage returns 'no such bucket'
    primarykey
    data
    text
    <p>Im using google-api-php-client. I´m authenticating with service account and recieving TOKEN ok. Trying to insert object in Google Cloud Storage, using Google Cloud Storage JSON api.</p> <p>When trying to INSERT object into BUCKET, returns: <strong>NoSuchBucket-The specified bucket does not exist.</strong> But I can assure that it does exist, as I can see in the web manager console, and already have images I´ve uploaded days ago.</p> <p>The complete message says: <strong>Error calling POST <a href="https://www.googleapis.com/upload/storage/v1beta2/b/" rel="nofollow">https://www.googleapis.com/upload/storage/v1beta2/b/</a>{here-goes-my-existing-bucket-name}/o?uploadType=multipart&amp;name=thec36b23baf2778d.jpg: (404)</strong></p> <p>I can confirm that the bucket exist, as I get a 200 response with full object info when running GET_BUCKET:</p> <pre><code>object(Google_Service_Storage_Bucket)[182] {.......} protected 'defaultObjectAclType' =&gt; string 'Google_Service_Storage_ObjectAccessControl' (length=42) protected 'defaultObjectAclDataType' =&gt; string 'array' (length=5) public 'etag' =&gt; string 'CAI=' (length=4) public 'id' =&gt; string '{here-goes-my-existing-bucket-name}' (length=42) {.......} public 'name' =&gt; string '{here-goes-my-existing-bucket-name}' (length=42) protected 'ownerType' =&gt; string 'Google_Service_Storage_BucketOwner' (length=34) protected 'ownerDataType' =&gt; string '' (length=0) public 'selfLink' =&gt; string 'https://www.googleapis.com/storage/v1beta2/b/{here-goes-my-existing-bucket-name}' (length=87) {.......} </code></pre> <p>Could this be an issue of the API?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload