> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encord.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Http.v2.error utils

#### handle\_error\_response

```python theme={"dark"}
def handle_error_response(status_code: int,
                          response_headers: Mapping[str, str],
                          message: str | None = None,
                          context: RequestContext | None = None)
```

Checks server response.
Called if HTTP response status code is an error response.
