This page describes troubleshooting methods for common errors you may encounter while using Cloud Storage.
See the Google Cloud Service Health Dashboard for information about incidents affecting Google Cloud services such as Cloud Storage.
400: Bad Request
Issue: While performing a resumable upload, I received this error and the message Failed to parse Content-Range header.
Solution: The value you used in your Content-Range
header is invalid. For example, Content-Range: */*
is invalid and instead should be specified as Content-Range: bytes */*
. If you receive this error, your current resumable upload is no longer active, and you must start a new resumable upload.
401: Unauthorized
Issue: Requests to a public bucket directly, or using Cloud CDN, are failing with a HTTP 401: Unauthorized
and an Authentication Required
response.
Solution: Check that your client, or any intermediate proxy, is not adding an Authorization
header to requests to Cloud Storage. Any request with an Authorization
header, even if empty, is validated as if it were an authentication attempt.