---
title: AltTextTooLongError
framework: retentionmessaging
role: symbol
role_heading: Object
path: retentionmessaging/alttexttoolongerror
---

# AltTextTooLongError

An error that indicates the alternative text for an image is too long.

## Declaration

```data
object AltTextTooLongError
```

## Properties

errorCode: errorMessage:

## Discussion

Discussion When you call Upload Message and include an image, check that the alternative text contains no more than 150 characters.

## See Also

### Errors

- [BodyTooLongError](retentionmessaging/bodytoolongerror.md)
- [DefaultMessageNotFoundError](retentionmessaging/defaultmessagenotfounderror.md)
- [ExistingPerformanceTestRunError](retentionmessaging/existingperformancetestrunerror.md)
- [ForbiddenNoPassingTestError](retentionmessaging/forbiddennopassingtesterror.md)
- [HeaderTooLongError](retentionmessaging/headertoolongerror.md)
- [ImageAlreadyExistsError](retentionmessaging/imagealreadyexistserror.md)
- [ImageInUseError](retentionmessaging/imageinuseerror.md)
- [ImageNotApprovedError](retentionmessaging/imagenotapprovederror.md)
- [ImageNotFoundError](retentionmessaging/imagenotfounderror.md)
- [InvalidImageError](retentionmessaging/invalidimageerror.md)
- [InvalidLocaleError](retentionmessaging/invalidlocaleerror.md)
- [InvalidPerformanceTestRequestError](retentionmessaging/invalidperformancetestrequesterror.md)
- [InvalidProductIdError](retentionmessaging/invalidproductiderror.md)
- [InvalidRequestIdError](retentionmessaging/invalidrequestiderror.md)
- [MaximumNumberOfImagesReachedError](retentionmessaging/maximumnumberofimagesreachederror.md)
