# 35133: Invalid 'Messages' array provided in the request

Log Type: APPLICATION

Log Level: ERROR

## Description

This error appears when the `Messages` array in your request is invalid. The array is either empty or contains more items than the endpoint accepts. Twilio returns request validation details in the API response when a request body is invalid.

### Possible causes

* Your request sent an empty `Messages` array.
* Your request included more `Messages` items than Twilio accepts in a single request.
* Your application built the request payload incorrectly, so the final `Messages` array sent to Twilio did not contain the expected items.

### Possible solutions

* Add at least one valid item to the `Messages` array before you resend the request.
* If you are sending a large batch, split it into smaller requests so the `Messages` array stays within the supported limit for a single request.
* Log and inspect the final request body your application sends to Twilio so you can confirm the `Messages` array is present and contains the expected number of items. Twilio includes validation details for invalid requests in the API response.
* If you are using Twilio Communications API for bulk or personalized messaging, review the request structure and the endpoint limits before resending the request.

#### Additional resources

* [Twilio Communications API](/docs/bulk-messaging)
* [Personalization](/docs/bulk-messaging/personalization)
* [Debugging Your Twilio Application](/docs/usage/troubleshooting/debugging-your-application)
