Error Handling
Equinix uses HTTP response status codes to indicate the success or failure of your API requests. If your request fails, an Equinix error code will be returned using the appropriate status code.
In general, there are three status code ranges you can expect:
2xx Success - confirm that your request worked as expected
201: Success
202: Success
4xx Client error - indicate an error due to the information provided (e.g., a required parameter was omitted)
400: Bad Request
401: Unauthorized
404: Resource not found
405: Method not allowed
406: Bad Request
415: Unsupported media type
429: Too many request Error
5xx Server error - indicate an error with Equinix’s servers
500: Internal Server Error
503: Service unavailable
The possible Equinix error codes that can be returned, along with additional information about how to resolve them, have been compiled for each status code for your convenience.