VALIDATION_FAILED

Validation failed. The request body failed validation.

Status400
Retry?No

What it means

A body field is missing, malformed or out of range. errors[] lists each field and what is wrong with it.

What to do

  • Fix each field named in errors[]. The same request fails the same way.

The response

Served as application/problem+json. Branch on code; detail describes this occurrence and can change wording at any time.

{
  "type": "https://docs.medos.one/errors/validation-failed",
  "title": "Validation failed",
  "status": 400,
  "detail": "…",
  "instance": "/v1/…",
  "code": "VALIDATION_FAILED",
  "requestId": "01JCX6Q4W3J7N8Y2H5K9M1B0VD"
}

All error codes · Error index