Jump tovalidation_failed
HTTP 422 · The request
validation_failed
The request is not valid.
What it means
The JSON parsed, but some fields are wrong. errors lists each one with its path (a JSON Pointer into your body), a code and a message.
What to do
Correct each field errors names. In a form, show each message beside its input.
Can you retry it?
Example answer
{
"type": "https://docs.mydeepagents.com/errors/validation_failed",
"title": "The request is not valid.",
"status": 422,
"code": "validation_failed",
"request_id": "req_01jb8m4s2v7q9x3k5n6p8r0t2w",
"errors": [
{
"path": "/name",
"code": "too_short",
"message": "Use at least 1 character."
}
]
}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.