# payload_too_large

HTTP status: 413

## What the API sends

```
{"error":"payload_too_large","message":"This body is larger than the deploy hook accepts."}
```

## When it happens

A push-to-deploy hook received a body larger than 5 MiB. Other routes answer a body that is too large with [bad_request](/docs/errors/bad_request).

## What to do

Send a smaller body to the hook.
