---
title: "E28042 — AMBTemplateLanguageInvalid"
description: "The requested Apple Messages template language is not a valid language tag."
canonical: "https://bird.com/docs/api/errors/E28042"
---

# E28042 — AMBTemplateLanguageInvalid

The requested Apple Messages template language is not a valid language tag.

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

## What to do

Provide the language as a valid BCP-47 tag (for example 'en' or 'pt-BR'). Fetch the template to see which languages it offers, then resend.

Operations that resolve this:

- [Get an Apple Messages template](/docs/api/reference/get-amb-template)

## Related

- [E28xxx — Apple Messages for Business](/docs/api/errors/E28xxx): 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)
