When an API call fails, the errno and msg fields indicate the specific reason. Below are the most common error codes.5.1 Common Error Codes#
| Code | Message | Description | Suggested Action |
|---|
| 0 | SUCCESS | The request was processed successfully. | None. |
| 40257 | INVALID_PARAMETER | One or more parameters in the request body are invalid. | Check parameter format (e.g., SN length, date format). |
| 41201 | SYSTEM_ERROR | An unexpected error occurred on the server side. | Retry the request. If persistent, contact support. |
| 41808 | INVALID_TOKEN | The provided OAuth token is expired or malformed. | Request a new OAuth token using your client_id and client_secret. |
| 41811 | PERMISSION_DENIED | The OAuth token does not have permission for the requested resource. | Confirm that device enrollment is complete and that the token belongs to the correct Client App. |
| 41930 | INVALID_DEVICE | The specified device Serial Number (SN) does not exist. | Validate the SN against the device list. |
| 42051 | IN_OTHER_VPP | The device is currently bound to another VPP platform. | The user must unbind the device from the previous platform. |
| 42052 | INCOMPATIBLE_HARDWARE | The hardware model is not supported by the VPP program. | Check the Device Compatibility Matrix. |
| 42054 | INVALID_DEVICE_OF_USER | The user does not own the requested device. | Verify the device binding relationship. |
| 40404 | REQUEST_EXCEEDS_THE_LIMIT | The request frequency exceeds the rate limit. | Implement exponential backoff in your retry logic. |
Note: A 4xx client error indicates a problem with the request itself. A 5xx server error indicates a temporary issue on the FoxCloud side.
Modified at 2026-08-04 03:31:26