Error Codes
API error responses and their meanings.
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created (signal executed) |
202 | Accepted (signal scheduled) |
400 | Bad Request (validation error) |
401 | Unauthorized (invalid API key) |
403 | Forbidden (insufficient permissions) |
404 | Not Found |
429 | Rate Limited |
500 | Internal Server Error |
503 | Service Unavailable |
Error Response Format
{
"error": "Error message",
"code": "ERROR_CODE",
"details": [
{
"path": ["field"],
"message": "Field-specific error"
}
]
}
Common Error Codes
| Code | Description |
|---|---|
VALIDATION_ERROR | Request body failed validation |
SIGNAL_REJECTED | Signal rejected (duplicate sourceId, etc.) |
ACCOUNT_NOT_FOUND | Account ID not found or no access |
STRATEGY_NOT_FOUND | Strategy ID not found or no access |
INSUFFICIENT_FUNDS | Account has insufficient buying power |
MARKET_CLOSED | Market is closed for this symbol |
SERVICE_DISABLED | Signal processing is disabled |