Errors
A list of errors returned by a failed batch entry.
JSON representation |
{
"errors": [
{
object (Error )
}
],
"code": integer,
"message": string
} |
Fields |
errors[] |
object (Error )
A list of errors.
|
code |
integer (uint32 format)
The HTTP status of the first error in errors .
|
message |
string
The message of the first error in errors .
|
Error
An error returned by the API.
JSON representation |
{
"domain": string,
"reason": string,
"message": string
} |
Fields |
domain |
string
The domain of the error.
|
reason |
string
The error code.
|
message |
string
A description of the error.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["The content focuses on defining the structure and components of errors returned by a failed batch entry in an API."],["Errors are represented in JSON format and include details such as a list of errors, an HTTP status code, and an overall error message."],["Individual errors within the list contain information about the error domain, a specific error code, and a descriptive message."]]],["The content describes error handling within an API, detailing the structure of error responses. A failed batch entry returns a list of `errors`, each with a `domain`, `reason`, and `message`. The overall response includes a `code` (HTTP status) and `message` referencing the first error. The `errors` field is a list containing error objects. Each error object contains the details about an individual error.\n"]]