Skip to content

Start building

Jump tocontext_overflow
All errors

HTTP 422 · AI models

context_overflow

The conversation is too long for the model.

What it means

The instructions, history and files together are more than the model can read at once.

What to do

Shorten the input, start a new conversation, or use a model with a larger context window.

Can you retry it?

Example answer

HTTP 422 · application/problem+json
JSON
{
  "type": "https://docs.mydeepagents.com/errors/context_overflow",
  "title": "The conversation is too long for the model.",
  "status": 422,
  "code": "context_overflow",
  "request_id": "req_01jb8m4s2v7q9x3k5n6p8r0t2w"
}

Build with us

Ready for your first call?

Early access is open. Tell us what you want your agents to do, and we will help you get your first key.