E04108 — EmailTemplateVisualEditorRequired
This template language is edited in the visual editor, so this request cannot replace its body or change its linked blocks.
- HTTP status:
422 - Type:
validation_error - Name:
EmailTemplateVisualEditorRequired
What to do
If the language links no blocks yet, an ordinary save without editor_state replaces its visual design with your HTML, and you can then link blocks to it through the API, CLI or MCP. That save discards the visual design. A partial update that sends only subject or preview_text with the language's revision still works here. To keep the visual design, edit the language and its linked blocks in the Bird dashboard from the template's editor_url.
Operations that resolve this:
Related
- E04xxx — Email sending & delivery: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on
typeandcode, validation details, andvendor_code
Risorse correlate
Continua con la documentazione, le guide e gli esempi per questo argomento.