api_id
, an error code, and an error message.
HTTP Status Codes | Plivo Error Codes | Reason | Description |
---|---|---|---|
401 | 401 | Auth ID and/or Auth Token is invalid. | You receive this response when you use invalid credentials to access the API. |
402 | 402 | Account does not have sufficient balance to fulfill the request. | Prepaid account has insufficient balance. This error is not applicable for postpaid customers. Please recharge your account. |
403 | 403 | Account is forbidden from accessing resource. | Customer has not been subscribed to the Lookup Service. Please contact Plivo support. |
404 | 404 | Phone number is invalid or does not exist. | Phone number is either invalid or doesn’t exist. |
400 | 160 | Request type not specified or is invalid. | Lookup API requires the query parameter type to be set in the request. This error occurs when this parameter is missing or if the value passed with the parameter is invalid. Check the Number Lookup API documentation to learn about the API parameters. |
500 | 300 | Failed to process request due to internal server failure. | Plivo is unable to process the API request due to internal issues. Contact Plivo support. |
5XX | NA | Contact Plivo support. |