DEVELOPER GUIDE
Error Codes
Non-zero code values indicate an error. Match programmatically on code or msg key and include traceId when reporting issues.
Open API Error Codes (2300xx)
| Code | HTTP | Error Key (msg) | Description |
|---|---|---|---|
230001 | 200 | err.openapi.disabled | The API is not available right now |
230002 | 401 | err.openapi.key_invalid | Invalid API key |
230003 | 401 | err.openapi.sign_invalid | Invalid signature |
230004 | 401 | err.openapi.timestamp_invalid | Timestamp is outside the receive window. Sync your clock |
230005 | 403 | err.openapi.ip_denied | This IP is not in the API key's whitelist |
230006 | 403 | err.openapi.permission_denied | This API key does not have the required permission |
230007 | 403 | err.openapi.key_disabled | This API key has been disabled |
230008 | 403 | err.openapi.key_expired | This API key has expired. Bind an IP or create a new key |
230009 | 401 | err.openapi.replay | Duplicate request |
230010 | 200 | err.openapi.key_limit | You have reached the maximum number of API keys |
230011 | 200 | err.openapi.kyc_required | Complete identity verification before creating an API key |
230012 | 200 | err.openapi.ip_invalid | Invalid IP whitelist entry |
230013 | 200 | err.openapi.label_invalid | The label must be 1–32 characters |
230014 | 200 | err.openapi.batch_too_large | At most 20 items per batch |
230015 | 404 | err.openapi.not_found | Endpoint not found |
230016 | 200 | err.openapi.account_not_allowed | This account cannot use the API |
Common Platform Error Codes
| Code | HTTP | Error Key (msg) | Description |
|---|---|---|---|
1 | 200 | err.common.invalid_param | Invalid parameter |
2 | 401 | err.common.unauthenticated | Please sign in |
3 | 401 | err.common.token_expired | Your session has expired. Please sign in again |
4 | 403 | err.common.permission_denied | You do not have permission to perform this action |
5 | 429 | err.common.rate_limited | Too many requests. Please try again later |
6 | 200 | err.common.duplicate_request | Duplicate request |
7 | 200 | err.common.not_found | Resource not found |