Skip to main content

Error Codes

HTTP error codes​

Error codeDescription
400 Bad RequestYour request parameters are incorrect.
401 UnauthorizedYour API key is wrong or missing.
403 ForbiddenThe requested resource is hidden for administrators only.
404 Not FoundThe specified resource could not be found.
405 Method Not AllowedYou tried to access a resource with an invalid method.
406 Not AcceptableYou requested a format that isn’t json.
410 GoneThe resource requested has been removed from our servers.
429 Too Many RequestsYou’re requesting too many resources! Slow down!
500 Internal Server ErrorWe had a problem with our server. Please try again later.
503 Service UnavailableWe’re temporarily offline for maintenance. Please try again later.

Common API error codes​

Error codeDescription
UDAPI10000This request is not supported by Upstox API - This error is thrown when the API call is not recognized or valid, possibly due to incorrect URL formatting or the presence of unexpected characters in the URL.
UDAPI100016Invalid Credentials - Thrown when one of the credentials you've passed to this API is invalid.
UDAPI10005Too Many Request Sent - Thrown when you've exceeded the Rate limits for the API.
UDAPI100015API Version does not exist - Thrown when API version isn't part of the Header attributes.
UDAPI100050Invalid token used to access API - Thrown when an invalid token is used to access the API.
UDAPI100067The API you are trying to access is not permitted with an extended_token - Thrown when trying to access an API that is not allowed with an extended_token.
UDAPI100036Invalid Input - Thrown when an invalid input is passed to the API.
UDAPI100038Invalid input passed to the API - Thrown when an invalid input is passed to the API.
UDAPI100073Your 'client_id' is inactive. - Thrown when the client_id is not active. Please contact the support team for further assistance.
UDAPI100500Something went wrong... please contact us - An unexpected error occurred. Please contact support.

Error codes specific to each API are detailed in the 4XX response section within their respective documentation.