Error Codes

When using the SUTRA API, you may encounter errors. Below are common error codes, their causes, and suggested solutions:

CODEDESCRIPTION
400 – Invalid FormatCause: The request body format is invalid.
Solution: Adjust your request body based on the error message hints. For more details, refer to the SUTRA API Documentation.
401 – Authentication FailsCause: The API key provided is invalid.
Solution: Verify your API key. If you don't have one, generate it via the developer portal.
422 – Invalid ParametersCause: The request contains invalid or unsupported parameters.
Solution: Correct the parameters as indicated in the error message.
429 – Too Many RequestsCause: Requests are being sent at a rate exceeding the server's capacity.
Solution: Slow down your request rate. If needed, switch temporarily to alternative APIs while pacing your requests.
500 – Server ErrorCause: The server encountered an unexpected issue.
Solution: Wait for a moment and try again. Contact support if the issue persists.
503 – Server OverloadedCause: The server is under high traffic and cannot handle the request.
Solution: Retry your request after a short delay.

On this page

No Headings