Envoy 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, a charge failed, etc.). Codes in the 5xx range indicate an error with Envoy servers (these are rare).
Status Code | Description |
---|---|
200 - OK | The request completed successfully. |
201 - Sucess | The resource was created. |
400 - Bad Request | The request could not be processed, typically due to a syntax issue. |
401 - Unauthorized | Missing or invalid API credentials. |
403 - Forbidden | The API credentials do not have access to perform the request. |
404 - Not Found | The resource doesn't exist. |
409 - Conflict | The request conflicts with another request. |
429 - Too Many Request | Too many requests hit the API too quickly. We recommend an exponential backoff of your requests. |
5xx - Server Error | An internal error occurred in Envoy. |