Errors and Response Format
Shared response envelope, error code ranges, and retry guidance for EdgeCron API.
Response envelope
{
"code": 0,
"message": "success",
"request_id": "req_abc123",
"data": {}
}code == 0 means success. 401 triggers admin logout and redirect to the login page.
Error code ranges
| Range | Meaning |
|---|---|
0 | Success |
1001-1999 | Auth, validation, and request errors |
2001-2999 | Upstream or external HTTP errors |
3001-3999 | Rate limit or quota errors |
5000-5099 | Server, database, cache, and timeout errors |
10000+ | Business module errors |
Retry guidance
Retry 5xx, network timeouts, and explicitly retryable delivery failures with backoff. Do not blindly retry authentication, signature, or validation errors.