E04109 — EmailTemplateSharedBlocksRequired
This template language links reusable blocks, so a save that changes its body must also send its links.
- HTTP status:
422 - Type:
validation_error - Name:
EmailTemplateSharedBlocksRequired
What to do
Read the language with authoring set to true to get its HTML with block markers, its shared_blocks and its revision, then save the complete language with all three. Bird never removes a link you leave out. To remove every link, send HTML without markers and shared_blocks with no bindings. A partial update that sends only subject or preview_text with the revision needs neither. The Bird dashboard does not edit the body of a language whose blocks were linked as HTML, so change it through the API, CLI or MCP.
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
Related resources
Continue with the documentation, guides and examples for this topic.