# publish_too_large

HTTP 413 · Deploys and migrations (SPEC §6.2, §10, §15.2)

This publish has too many files or bytes. See details for the limit; deploy larger sites with flatstack deploy.

## Does retrying help?

Not as it is. Change the request as the message says, then send it again.

## The response

Every Flatstack error has this shape. `details`, when present, says more about this case.

```json
{
  "error": {
    "code": "publish_too_large",
    "message": "This publish has too many files or bytes. See details for the limit; deploy larger sites with flatstack deploy.",
    "docsUrl": "https://flatstack.dev/docs/errors/publish_too_large"
  }
}
```

[All error codes](/docs/errors)