CustomErrorCode
Stay organized with collections
Save and categorize content based on your preferences.
Enums |
NO_ERROR |
No error. |
UNKNOWN_ERROR |
Unknown error. |
INVALID_PAGE_TOKEN |
Invalid page token. |
INVALID_CUSTOMER_ID |
Invalid customer ID. |
INVALID_OPERATION_ID |
Invalid operation ID. |
INVALID_RESELLER_ID |
Invalid reseller ID. |
INVALID_IDENTIFIER_SET |
The set of identifiers provided is not sufficient. |
INVALID_DEVICE_ID |
Invalid device ID. |
AUTHORIZATION_FAIL |
Authorization fail. |
INVALID_IMEI |
Invalid IMEI. |
INVALID_MEID |
Invalid MEID. |
INVALID_SERIAL |
Invalid serial number. |
INVALID_MANUFACTURER |
Invalid manufacturer. |
INVALID_PARAMETER |
Unspecified invalid input parameter. |
INTERNAL_ERROR |
Internal error. |
INVALID_SECTION_TYPE |
Invalid section type. |
INVALID_MODEL |
Invalid model. |
INVALID_OPERATION |
Invalid operation. |
DEVICE_ALREADY_EXISTS |
Device already exists. |
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-08-07 UTC.
[null,null,["Last updated 2024-08-07 UTC."],[],["The document defines custom error codes using enums. `NO_ERROR` indicates success, while `UNKNOWN_ERROR` signifies a general failure. Other codes specify invalid inputs like `INVALID_PAGE_TOKEN`, `INVALID_CUSTOMER_ID`, `INVALID_DEVICE_ID`, and `INVALID_PARAMETER`. Specific device-related errors include `INVALID_IMEI`, `INVALID_MEID`, `INVALID_SERIAL`, and `INVALID_MANUFACTURER`. There are codes for `AUTHORIZATION_FAIL`, `INTERNAL_ERROR`, and `DEVICE_ALREADY_EXISTS`, among others. The provided enum indicates the different type of error that can occurs.\n"],null,["# CustomErrorCode\n\nCustom error code.\n\n| Enums ||\n|--------------------------|----------------------------------------------------|\n| `NO_ERROR` | No error. |\n| `UNKNOWN_ERROR` | Unknown error. |\n| `INVALID_PAGE_TOKEN` | Invalid page token. |\n| `INVALID_CUSTOMER_ID` | Invalid customer ID. |\n| `INVALID_OPERATION_ID` | Invalid operation ID. |\n| `INVALID_RESELLER_ID` | Invalid reseller ID. |\n| `INVALID_IDENTIFIER_SET` | The set of identifiers provided is not sufficient. |\n| `INVALID_DEVICE_ID` | Invalid device ID. |\n| `AUTHORIZATION_FAIL` | Authorization fail. |\n| `INVALID_IMEI` | Invalid IMEI. |\n| `INVALID_MEID` | Invalid MEID. |\n| `INVALID_SERIAL` | Invalid serial number. |\n| `INVALID_MANUFACTURER` | Invalid manufacturer. |\n| `INVALID_PARAMETER` | Unspecified invalid input parameter. |\n| `INTERNAL_ERROR` | Internal error. |\n| `INVALID_SECTION_TYPE` | Invalid section type. |\n| `INVALID_MODEL` | Invalid model. |\n| `INVALID_OPERATION` | Invalid operation. |\n| `DEVICE_ALREADY_EXISTS` | Device already exists. |"]]