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.
Error codes for internal failures.
Enums |
ERROR_CODE_UNSPECIFIED |
Unspecified error code. |
UNVERIFIED_LOCATION |
The location is not verified. |
INVALID_LOCATION_CATEGORY |
The location category is not eligible for the place action type. The place action type causing the error will be returned in the metadata, with string "placeActionType" as the key and PlaceActionType enum value string as the value. |
INVALID_URL |
The url is malformed/invalid. The place action url that is invalid will be returned in the metadata, with the string "url" as the key and the url as the value. |
URL_PROVIDER_NOT_ALLOWED |
The url has a provider that is not allowed. The place action url that is disallowed will be returned in the metadata, with the string "url" as the key and the url as the value. |
TOO_MANY_VALUES |
Too many values have been set for the place action type. The type for which the limit is reached will be returned in the metadata, with the string "placeActionType" as the key and PlaceActionType enum value string as the value. |
DELETED_LINK |
The requested place action link has been deleted. The corresponding url will be returned in the metadata, with the string "url" as the key and the url as the value. |
LINK_ALREADY_EXISTS |
An update is being requested to convert a place action link to one that already exists, with the same uri and type at the specified location. |
SCALABLE_DEEP_LINK_INVALID_MULTIPLICITY |
The domain that the link contains has already been used, and there is a limit of one link per domain for each PlaceActionType. |
LINK_DOES_NOT_EXIST |
A link has been specified that cannot be found in the database. |
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."],[[["\u003cp\u003eThis documentation details error codes specifically related to internal failures within a system.\u003c/p\u003e\n"],["\u003cp\u003eThese error codes cover various scenarios including location verification issues, invalid URLs, and problems with place action links.\u003c/p\u003e\n"],["\u003cp\u003eEach error code provides specific details about the failure, often including metadata with further information.\u003c/p\u003e\n"],["\u003cp\u003eUnderstanding these error codes will help developers diagnose and troubleshoot integration problems.\u003c/p\u003e\n"]]],[],null,["# ErrorCode\n\nError codes for internal failures.\n\n| Enums ||\n|-------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ERROR_CODE_UNSPECIFIED` | Unspecified error code. |\n| `UNVERIFIED_LOCATION` | The location is not verified. |\n| `INVALID_LOCATION_CATEGORY` | The location category is not eligible for the place action type. The place action type causing the error will be returned in the metadata, with string \"placeActionType\" as the key and [PlaceActionType](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionType) enum value string as the value. |\n| `INVALID_URL` | The url is malformed/invalid. The place action url that is invalid will be returned in the metadata, with the string \"url\" as the key and the url as the value. |\n| `URL_PROVIDER_NOT_ALLOWED` | The url has a provider that is not allowed. The place action url that is disallowed will be returned in the metadata, with the string \"url\" as the key and the url as the value. |\n| `TOO_MANY_VALUES` | Too many values have been set for the place action type. The type for which the limit is reached will be returned in the metadata, with the string \"placeActionType\" as the key and [PlaceActionType](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionType) enum value string as the value. |\n| `DELETED_LINK` | The requested place action link has been deleted. The corresponding url will be returned in the metadata, with the string \"url\" as the key and the url as the value. |\n| `LINK_ALREADY_EXISTS` | An update is being requested to convert a place action link to one that already exists, with the same uri and type at the specified location. |\n| `SCALABLE_DEEP_LINK_INVALID_MULTIPLICITY` | The domain that the link contains has already been used, and there is a limit of one link per domain for each PlaceActionType. |\n| `LINK_DOES_NOT_EXIST` | A link has been specified that cannot be found in the database. |"]]