Skip to content
Last updated

We use standard HTTPS error codes for the API error handling. Below is the list of error codes:

HTTP Status CodeTitleDescriptionPossible causes and solution
400: Bad requestOne or more errors occurred in the requestWe cannot process the request due to something incorrect or malformed in the client's requestVerify the request model as it is invalid, and adjust it according to the error message.
401: UnauthorizedInvalid authorizationIncorrect credentialsVerify the authorization header to ensure it is correct and adheres to the requirements outlined in the authentication section of the documentation.
402: Payment RequiredAccount locked due to insufficient fundsSinch credit balance is negativeTop up balance on Sinch Dashboard or contact your account manager.
403: ForbiddenNumber lookup for the requested country is disabled.Number lookup for the requested country is disabled for your account. Please contact support for more information on enabling services for this country.Number Lookup for Canadian numbers is only available to customers with a CLNPC license. Please refer here for information on obtaining a license.
403: ForbiddenLine type lookup feature is disabledLine type lookup feature is disabled for this applicationEnable line lookup feature for the application on Sinch Dashboard.
403: ForbiddenLine type use cases not specifiedPlease refer here for information on specifying use cases.
404: not foundNumber not foundRequested number not found from data setDouble check if number is correct.
429: Too many requestsRate limit exceededThe default rate limit is 10 requests per second. If a higher capacity is required, please contact us.
500: Internal errorInternal server errorError occurred on server sideThe error occurred on the server side. Please provide the traceId from the response, so we can investigate the issue further.