# bundle_too_large

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

The bundle is over 10 MB compressed. Remove unused dependencies or move large files to storage.

## 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": "bundle_too_large",
    "message": "The bundle is over 10 MB compressed. Remove unused dependencies or move large files to storage.",
    "docsUrl": "https://flatstack.dev/docs/errors/bundle_too_large"
  }
}
```

[All error codes](/docs/errors)