Error codes
If a call results in an error, the API will respond with an HTTP Status code and in most cases an error description in this format:
{
"message": "Device parameter missing"
}The API uses the following HTTP Status codes:
| Status code | Description |
|---|---|
| 400 | Bad Request. Maybe you're missing some parameters |
| 401 | Unauthorized. Your API key may be invalid. |
| 403 | Forbidden. Your API key does not have access to the resource. |
| 404 | The resource was not found. |
| 405 | Method (GET, POST, PUT, DELETE) not allowed. |
| 429 | Too many requests. Your request has been rate limited |
| 500 | Internal server error. It this error persists, get in touch with us. |
| 501-599 | A problem occurred connecting to the PageVitals platform. Try again later. |