Google Business Performance API has a
NEW API method that allows fetching multiple `DailyMetrics` in a single API request. Review the
deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
ErrorCode
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
ErrorDetail
codes are categorized: 1-199 (general), 1000-1099 (photos), 1100-1199 (address/location), 1200-1299 (category), and 1300-1399 (operation).
Common error codes include unspecified errors, missing or invalid values, invalid characters, and exceeding item limits.
Location-specific errors address issues with geocoding, latitude/longitude accuracy, and location restrictions.
Photo errors indicate failures in fetching or uploading images from provided URLs.
Operational and categorical errors cover unsupported values, verification issues, and account-related limitations.
Error codes for ErrorDetail
:
1 to 199: common error codes that apply to all fields. 1000 to 1099: photos-related error codes. 1100 to 1199: address- and latitude/longitude-related error codes. 1200 to 1299: category-related error codes. 1300 to 1399: operation related error codes.
Enums
ERROR_CODE_UNSPECIFIED
Catch-all error code.
MISSING_VALUE
A required value was not provided.
INVALID_VALUE
An invalid value was provided.
INVALID_CHARACTERS
Invalid characters were found.
TOO_MANY_ITEMS
More than the maximum number of items was provided in a repeated field.
READ_ONLY
Read-only field cannot be modified.
OVERLAPPING_RANGES
Items in a repeated field are ranges that overlap with one another.
INVERTED_RANGE
The range provided is inverted. This also includes the case of an empty range.
VALUE_OUTSIDE_ALLOWED_RANGE
The value provided is outside of its allowed range.
MISSING_DEPENDENT_FIELD
Required dependent field not present.
FIELD_HAS_DEPENDENCIES
Field required by dependent field and cannot be removed.
UNSUPPORTED_VALUE
The provided value, although possibly valid, is unsupported due to other constraints.
EXPIRED_VALUE
The provided value has expired and is no longer valid.
PHOTO_FETCH_FAILED
Fetch photo from the specified URL failed.
PHOTO_UPLOAD_FAILED
Upload photo from the specified URL failed.
GEOCODE_ERROR
There was an error automatically determining latitude/longitude.
LAT_LNG_OUTSIDE_COUNTRY
The latitude/longitude provided does not lie in the country provided.
LAT_LNG_REQUIRED
Latitude and Longitude must be provided.
LAT_LNG_TOO_FAR_FROM_ADDRESS
The latitude/longitude and address pair are too far apart.
CATEGORY_NOT_VERIFIED
Category provided is not verified.
OPERATION_EXECUTION_ERROR
Generic operation execution error.
OPERATION_UNSUPPORTED_UNDER_ACCOUNT_CONDITION
Operation is not supported due to account condition.
LOCATION_DISABLED_FOR_LOCAL_POST_API
Location Disabled for Local Post API.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[],[]]