Reference
Errors
Error format and status codes returned by the Thrive API.
Error format
json
{
"error": {
"type": "authentication_error",
"message": "Invalid API key.",
"code": "invalid_api_key"
}
}Status codes
400invalid_request_error
A parameter is missing or invalid.
401authentication_error
No key, a malformed key, or a revoked or expired key.
402payment_required_error
Not enough Agent credits for this action.
403permission_error
The key is valid but lacks the required scope.
404not_found_error
The resource doesn't exist or isn't yours.
429rate_limit_error
Too many requests for this key in the last minute.
500api_error
Something went wrong on Thrive's side.
Codes
invalid_api_key revoked_api_key expired_api_key missing_scope trade_rejected idempotency_conflict insufficient_credits agent_unavailable project_limit parameter_missing parameter_invalid symbol_not_found resource_missing rate_limited market_data_unavailable internal_error