Error descriptions

This section contains the response format describing the error, as well as a list of errors returned by API methods that are compatible with Google Analytics Core Reporting API (v3).

Error format


{
    "error" : {
        "code" :  < int > ,
        "message" :  < string > 
    }
}
Parameters Description
error no description
error
code HTTP error code
message Error description
Parameters Description
error no description
error
code HTTP error code
message Error description

Types of errors

Type of error Description
invalidParameter (400)

Incorrect value in the request parameter.

The locationType and location fields provide details about the parameter where the error was detected.

badRequest (400) Error in the request. For instance, an invalid combination of dimensions and metrics.
invalidCredentials (401) Access token has expired or is invalid.
quotaExceeded (403) Exceeded the quota for maximum parallel requests.
backendError (503) The server returned an error message.
Type of error Description
invalidParameter (400)

Incorrect value in the request parameter.

The locationType and location fields provide details about the parameter where the error was detected.

badRequest (400) Error in the request. For instance, an invalid combination of dimensions and metrics.
invalidCredentials (401) Access token has expired or is invalid.
quotaExceeded (403) Exceeded the quota for maximum parallel requests.
backendError (503) The server returned an error message.