rocket
Meet
Merchant API
- the official successor to Content API for Shopping.
update
Get the latest
on new Merchant API features, bug fixes, and updates.
add_alert
Note: Content API for Shopping will be sunset on August 18, 2026.
Errors
Stay organized with collections
Save and categorize content based on your preferences.
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 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"],null,[]]