# E04064 — EmailTemplateUnsubscribeRequired

A marketing template needs an unsubscribe link.

- **HTTP status**: `422`
- **Type**: `validation_error`
- **Name**: `EmailTemplateUnsubscribeRequired`

## What to do

Place `{{ bird.unsubscribe_url }}` in the body of every language the template has, and we replace it with that recipient's unsubscribe link. A template that does not need one is `transactional`.

## Related

- [E04xxx — Email sending & delivery](/docs/api/errors/E04xxx): every code in this range
- [Errors](/docs/api/errors): the full wire contract, status mapping, and error catalog
- [Error handling](/docs/guides/errors): branching on `type` and `code`, validation details, and `vendor_code`

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
