Skip to main content

Error Codes

API error responses and their meanings.

HTTP Status Codes

CodeDescription
200Success
201Created (signal executed)
202Accepted (signal scheduled)
400Bad Request (validation error)
401Unauthorized (invalid API key)
403Forbidden (insufficient permissions)
404Not Found
429Rate Limited
500Internal Server Error
503Service Unavailable

Error Response Format

{
"error": "Error message",
"code": "ERROR_CODE",
"details": [
{
"path": ["field"],
"message": "Field-specific error"
}
]
}

Common Error Codes

CodeDescription
VALIDATION_ERRORRequest body failed validation
SIGNAL_REJECTEDSignal rejected (duplicate sourceId, etc.)
ACCOUNT_NOT_FOUNDAccount ID not found or no access
STRATEGY_NOT_FOUNDStrategy ID not found or no access
INSUFFICIENT_FUNDSAccount has insufficient buying power
MARKET_CLOSEDMarket is closed for this symbol
SERVICE_DISABLEDSignal processing is disabled