Invalid status for updating properties
This is most commonly because Cloud Storage JSON API is not enabled in the Google Cloud Platform Console, though there are other cases where the project is blocked or has been deleted when this can occur.
There is a problem with the project used in the request that prevents the operation from completing successfully. Check the billing page to see if you have a past due balance or if the credit card (or other payment mechanism) on your account is expired.
The following table describes the elements that can appear in the response body of an error.
Cloud Storage uses the standard HTTP error reporting format for the JSON API.
Successful requests return HTTP status codes in the 2xx range.
Check the Google Cloud Platform Console to see if there is a problem with billing, and if not, contact account support.
This error implies that for the project associated with the OAuth token or the developer key provided, access to Cloud Storage JSON API is not enabled.