Errors
The Zip API uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx
range indicate success. Codes in the 4xx
range indicate an error that failed given the information provided (e.g., a required parameter was omitted, an action failed, etc). Codes in the 5xx
range indicate an error with our servers (these are rare).
Some common error responses are listed below:
400 Bad Request
— Your request may be malformed401 Unauthorized
— Your API key is wrong, or your account does not have access to this resource403 Forbidden
— The record requested is hidden404 Not Found
— The specified record could not be found405 Method Not Allowed
— You tried to access a resource with an invalid method422 Unprocessable Entity
— Your request is invalid429 Too Many Requests
— You have exceeded the API rate limit