Skip to main content

E1213 — Input bytes failed schema validation

PropertyValue
Code1213
SlugE1213
Categoryvalidation (Validation)

What happened

Input bytes failed schema validation.

Why it happened

The input payload does not conform to the expected schema (e.g., invalid CBOR structure, wrong field types).

How to fix

Check encoding and field layout against the target handler’s expected schema.

Receipt example

{
  "code": 1213,
  "slug": "E1213",
  "category": "validation",
  "what": "Input bytes failed schema validation",
  "fix": "Check encoding and field layout against the target handler's expected schema.",
  "docs_url": "https://docs.cowboy.inc/errors/E1213"
}

All Error Codes

View the complete error code reference