E299 - Pydantic schema violation in slide source¶
Cause¶
Pydantic detected a schema violation in a slide source file that
doesn't fall under one of the more specific E2xx (slide-level) or
E3xx (element-level) codes. This is the umbrella for any
Pydantic-internal ValidationError raised while loading a
.slide.json — including wrong-type fields, unknown extra fields,
and missing nested required fields on any element.
Example¶
A field type-mismatch flagged by Pydantic, with the original field path embedded in the error message.
How to fix¶
Read the embedded Pydantic message — it names the field path and the
constraint that failed. Cross-reference with scrolly schema file slide
for the expected schema of the slide source.