Skip to content

422 template_invalid

HTTP status
422
Code
template_invalid
Title
Template invalid
Meaning
The template is missing {{ unsubscribe_url }} or {{ footer_address }}, doesn't parse, or is over 380 KB.

What to do

The HTML must contain {{ unsubscribe_url }} and {{ footer_address }} and be valid Liquid, and the HTML and plain text together must stay under 380 KB. See Templates.

Where it comes from

  • POST /v1/templates
  • POST /v1/templates/{id}/versions

The response

Errors are application/problem+json (RFC 9457). detail never repeats the values you sent, and type links to this page. Quote requestId if you contact support.

{
"type": "https://docs.rhinorelay.com/api/errors/template-invalid/",
"title": "Template invalid",
"status": 422,
"code": "template_invalid",
"detail": "The template is missing {{ unsubscribe_url }} or {{ footer_address }}, doesn't parse, or is over 380 KB.",
"requestId": "req_01J9Z8X7W6V5T4S3R2Q1P0N9M8"
}

Every error code