Skip to content

Start building

Jump tomodel_refused
All errors

HTTP 422 · AI models

model_refused

The model declined the request.

What it means

The model refused to answer, usually under its provider’s usage rules.

What to do

Change what is asked. Sending it again unchanged will be refused again.

Can you retry it?

Example answer

HTTP 422 · application/problem+json
JSON
{
  "type": "https://docs.mydeepagents.com/errors/model_refused",
  "title": "The model declined the request.",
  "status": 422,
  "code": "model_refused",
  "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.