Skip to content

Invalid input

What it means

Auto read the request, but something in it doesn't fit what's needed. The errors list points at each field that's wrong and says why. You can fix the input and send it again.

What to do

Read the problem's detail first. It says what happened to this request.

  • Fix each field the errors list names, then send the request again.
  • Each entry of errors has a pointer to its field, such as /input/month, and a detail sentence about it. An app can show each sentence next to its field.
  • When the kind is input_schema, the input schema of the function or workflow refused the input before the run started. Check the input against that schema.
  • Inside a workflow, this error has status 400 and the type validation, so a catch for it matches 400 or validation, never 422.

Technical details

  • Type: https://on.auto/problems/invalid_input
  • Status: 422
  • Reason: invalid_input
  • errors: each field that's wrong, with its pointer and a detail sentence
  • kind: input_schema when the input schema of a function or workflow refused the input

Responses and errors in the HTTP API reference has the full detail. Problem types lists every type.