Responses from the API use HTTP response codes are used to indicate general classes of success and error. Error responses contain more detail about the error in the response body, in the "code" and "message" properties.

HTTP Status CodeCodeDescription
403"unauthorized"The api key is not valid
400"invalid_request_url"The request URL is not valid.
429"rate_limited"This request exceeds the number of requests allowed. Slow down and try again.
500"internal_server_error"An unexpected error occurred. Reach out to Aasaan support.
503"service_unavailable"Aasaan is unavailable. Try again later.