AI-generated Key Takeaways
-
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.
A list of errors returned by a failed batch entry.
| JSON representation |
|---|
{
"errors": [
{
object ( |
| Fields | |
|---|---|
errors[] |
A list of errors. |
code |
The HTTP status of the first error in |
message |
The message of the first error in |
Error
An error returned by the API.
| JSON representation |
|---|
{ "domain": string, "reason": string, "message": string } |
| Fields | |
|---|---|
domain |
The domain of the error. |
reason |
The error code. |
message |
A description of the error. |