Clatter LabsHelp Center

How do I fix 413 too_large or request_too_large?

TroubleshootingUpdated
APILimit
Agent APIinput 20,000 characters, metadata 2 KB, request body 64 KB
Model API3 MB per request, 800 messages, 64 tools

Shorten or split the input. For the Agent API, put large material in files the run can fetch, and keep the instruction short.

Good to know#

  • Branch your code on the error code, not the message.
  • On 429, wait the Retry-After seconds before retrying.
  • When asking support about an error, send the key's name, never the key.

Learn more#

Still need help?#

We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.