Skip to content
opis.Nutrition API

← All error codes

validation_failed

Validation failed · HTTP 422

What it means

The request is well formed but a body field, query parameter or header failed validation. errors[] lists each failure with a JSON pointer or parameter name.

What to do

Fix the fields listed in errors[]. Do not retry unchanged.

Example

{
  "type": "https://platform.opis.health/docs/errors/validation_failed",
  "title": "Validation failed",
  "status": 422,
  "detail": "…",
  "code": "validation_failed",
  "request_id": "req_01k68a9nytdxx0x5x0p47zgrm8"
}