For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

A value is in the right place but cannot be converted to the type that member requires.

  • HTTP status422 Unprocessable Content
  • typehttps://kestra.io/docs/api-reference/problems/invalid-format

When you get it

  • A non-numeric string is sent for a numeric field.
  • A duration or timestamp is not valid ISO 8601.
  • A value fails scalar coercion, for example an input whose declared type does not match what was submitted.

Example response

A response reporting this problem:

{
"type": "https://kestra.io/docs/api-reference/problems/invalid-format",
"title": "Invalid value format",
"status": 422,
"detail": "Cannot convert 'yesterday' to an Instant.",
"instance": "/api/v1/main/flows"
}

How to handle it

Correct the format of the value. The type each member expects is in the OpenAPI schema for the endpoint.

For the members every problem document carries, see Problem Details.

Was this page helpful?