# Errors

All responses from the API will include a standard HTTP successful or error status code. The successful status codes are as follows:

<table><thead><tr><th width="226">HTTP Status Code</th><th>Description</th></tr></thead><tbody><tr><td>200 OK</td><td>The request was successful. </td></tr></tbody></table>

For errors, we include extra information as to why the request was not successful. The error response body will have the following format:

```
{
  "error": {
    "message": "Descriptive information about the error",
    "code": "HTTP error code",
   }
}
```

For example, if you try to retrieve a recording that does not exist, you will get the following error response:

```
{
  "error": {
     "message": "Recording not found or does not exist",
     "code": 404,
   }
}
```

The error status codes, along with their error types, are as follows:

<table><thead><tr><th width="211">HTTP Status Code</th><th>Description</th></tr></thead><tbody><tr><td>400 Bad Request</td><td>The request cannot be accepted. Might be because the request body is empty when it should not be. </td></tr><tr><td>401 Unauthorized</td><td>The access token provided is invalid or deactivated.</td></tr><tr><td>404 Not Found</td><td>We could not find any record associated with this request.</td></tr><tr><td>500 Internal Server Error</td><td>Something went wrong with the Screendesk API. </td></tr></tbody></table>
