Skip to content

Start building

Jump tollm_request_invalid
All errors

HTTP 502 · AI models

llm_request_invalid

The model provider rejected the request.

What it means

The provider refused the request as invalid, which usually means a combination it does not support.

What to do

Change the model or its settings. If it persists, contact us with the request_id.

Can you retry it?

Example answer

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