Developer reference

Validation failed

← All problem types

https://filezar.io/problems/validation

HTTP status: 400

API scope: Filezar API and applicable first-party operations

When it happens

Model binding or request validation rejected one or more supplied values.

What to do

Correct the fields listed in errors and send the request again.

Additional fields

errors (required)
Validation messages grouped by external input field name.
Field schema
{
  "type": "object",
  "additionalProperties": {
    "type": "array",
    "items": {
      "type": "string"
    }
  }
}

Example response

Illustrative values only. Responses use application/problem+json.

{
  "type": "https://filezar.io/problems/validation",
  "title": "Validation failed",
  "status": 400,
  "detail": "Validation failed.",
  "instance": "urn:s3explorer:trace:example-trace",
  "traceId": "example-trace",
  "spanId": "example-span",
  "errors": {
    "folderId": [
      "The supplied value is invalid."
    ]
  }
}

Every problem also uses the common response fields.

An unhandled error has occurred. Reload x