# 21902: InvoiceTag length must be between 0 and 32

Log Type: APPLICATION

Log Level: ERROR

## Description

This error appears when a Messaging request includes an `InvoiceTag` value that is outside the supported 0 to 32 character length range.

### Possible causes

* The `InvoiceTag` value is longer than 32 characters.
* The request sends an `InvoiceTag` value that does not fit the supported length validation.

### Possible solutions

* Shorten `InvoiceTag` to 32 characters or fewer before you send the request.
* Validate the `InvoiceTag` length in your application so the request cannot exceed the supported range.

#### Additional resources

* [Messages resource](/docs/messaging/api/message-resource)
