2xx range indicate success, 4xx codes indicate a client error, and 5xx codes indicate a server error.
Error response format
Error responses come in two shapes. Route-level validation errors return a flaterror string:
message and a type:
error when it is a string, otherwise error.message.
Error reference
Common error messages
General
Agents
Secrets
Policy rules
Apps
User
Retry guidance
Most4xx errors are not retryable. They indicate a problem with the request that must be fixed before retrying.
For
500 errors, retry with exponential backoff: