---
title: "E28045 — AMBTemplateVariableInvalid"
description: "An Apple Messages template variable value does not satisfy its accepted format."
canonical: "https://bird.com/docs/api/errors/E28045"
---

# E28045 — AMBTemplateVariableInvalid

An Apple Messages template variable value does not satisfy its accepted format.

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

## What to do

A value in parameters does not match the format its variable expects. Fetch the template to see each variable's accepted type and format, then correct the value and 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)
