SMSPVAdevelopers
SMSPVA / DOCUMENTATION

Errors & limits

Handle API errors, pending results and uncertain requests.

SMSPVA API

Check the response table for the method you called: the same HTTP code can mean different things in different methods. When reporting a problem, include statusCode, error.type and error.description so you can identify the cause.

Pending is not terminal failure

On Receive SMS, 202 / SMS_NOT_YET_RECEIVED intentionally uses the error object for waiting. Handle it first, wait, and poll within the saved order lifetime. Do not classify every error object as a terminal failure.

Limits and transport failures

Handle limit errors documented for the selected method, including ACCESS_LIMITED where present. Each method has its own documented limit responses. A client timeout, connection failure, or non-JSON response is distinct from a documented API error. There are no automatic retries in the endpoint examples. For number requests with an uncertain result, inspect current orders before repeating them.

Response index

A dash means the source documents the HTTP description without a structured error-type example. Error types and descriptions below are retained from the source, including differences between methods.

HTTPerror.typeDescriptionMethods
400APIKEY_NOT_SETThe apikey header is missing, empty or invalid in length.Get balance, User information
400APIKEY_NOT_SETNo ApiKey foundOperators, Conversion rates, Country operator prices
400APIKEY_NOT_SETThe apikey header is missing, empty or shorter than 30 characters.Message type settings
401USER_NOT_FOUNDNo user was found for the supplied API key.Message type settings
402RATELIMIT_EXCEEDThe request rate limit was exceeded. This API uses HTTP 402 for this error.Message type settings
403USER_BANNEDThe user is banned.Message type settings
500SERVER_ERRORInternal server error. The description may contain a specific exception message when error details are enabled.Message type settings
402RATELIMIT_EXCEEDAPI rate limit exceeded.All number counts
405INVALID_PARAMSInvalid country or service parameter.Service price
405INVALID_PARAMSInvalid parametersService prices by country, Get number, Get number by operator, Receive SMS, Clear SMS, Stop SMS, Cancel order
407LOW_BALANCEYour balance is too low to receive sms for selected country and service.Get number
411ACCESS_LIMITEDAPI access limited by low karma or ratelimitsGet number, Receive SMS, Stop SMS, Cancel order, Block number
500NUMBER_FETCH_FAILFailed to fetch numberGet number
501PRICE_FETCH_FAILNumber not foundGet number
502NUMBER_NOT_FOUNDNumber not found.Get number
503SERVER_BUSYServer overload, try later.Get number
407—Your balance is too low to receive sms for selected country and service.Get number by operator
411—API access limited by low karma or ratelimitsGet number by operator
500—Failed to fetch numberGet number by operator
501—Number not foundGet number by operator
502—Number not found.Get number by operator, Number status
503—Server overload, try later.Get number by operator
406INVALID_ORDER_FORMATOrder ID format is invalid or not foundReceive SMS
407LOW_BALANCEWe received SMS but your balance is not enough to pay it.Receive SMS
410ORDER_CLOSEDThis order is closed and unavailableReceive SMS
500SMS_FETCH_FAILFailed to fetch SMS.Receive SMS
501SERVER_FAILServer failed to process request.Receive SMS, Current orders, Clear SMS, Stop SMS, Block number
503SERVER_BUSYThe server is overloaded and experiencing performance issues. Please try later.Receive SMS, Current orders, Stop SMS, Cancel order, Block number
405INVALID_NUMBER_FORMATInvalid number formatNumber status
406ORDER_NOT_FOUNDOrder ID format is invalid or not foundNumber status, Stop SMS, Cancel order, Block number
500SERVER_ERRORInternal server error. The description may include diagnostic details.Number status
501—Server failed to process request.Number status
503—The server is overloaded and experiencing performance issues. Please try later.Number status
504—av2.resp.504.desc — the source does not provide a resolved description for this response.Number status
404NO_SMS_TO_CLEANNo SMS received, or there's unpaid SMS waiting.Clear SMS
406ORDER_NOT_FOUNDOrder not found.Clear SMS
503SERVER_BUSYNo SMS received, or there's unpaid SMS waiting.Clear SMS
501SERVER_BUSYServer failed to process request.Cancel order
405INVALID_PARAMSInvalid number formatBlock number

On this page