SECRETS_TOO_LARGE

What it means. The app's settings exceed the 4 KB runtime limit.

What to do. Move large values (certificates, JSON blobs) to a file in storage and reference it by key.

  • HTTP status: 400
  • Retryable after applying the fix: yes

Every failure from the CLI or an MCP tool has this shape:

{
  "ok": false,
  "code": "SECRETS_TOO_LARGE",
  "message": "The app's settings exceed the 4 KB runtime limit.",
  "fix": "Move large values (certificates, JSON blobs) to a file in storage and reference it by key.",
  "file": "<where to edit, when known>",
  "retryable": true,
  "docs": "https://docs.uarpie.app/errors/SECRETS_TOO_LARGE"
}

Apply fix (edit file when it is given), then run the same command again.