Error Codes
| Scenario | HTTP | How to judge |
|---|---|---|
| Auth failure | 401 / 403 / 429 | See auth codes below |
| Business error | Usually 200 | JSON code ≠ 000000 |
Business codes (HTTP 200)
| code | Meaning |
|---|---|
000000 | Success |
100001 | Business failure |
100002 | System state error |
100003 | Validation failure |
999999 | Unknown error |
Auth codes (HTTP 401/403/429)
Same numeric values may appear, but HTTP is not 200 and only during authentication:
| code | HTTP | Meaning |
|---|---|---|
100001 | 401 | Invalid AppKey / missing headers |
100002 | 401 | Invalid signature |
100003 | 401 | Invalid or expired timestamp |
100004 | 401 | Duplicate RequestID |
100005 | 401 | Client disabled |
100006 | 403 | IP not allowed |
100007 | 429 | Rate limit exceeded |