57005: 'Category' is too long
MESSAGING
ERROR
This error occurs when the Category value in your request is longer than Twilio accepts. For SendGrid email sends, each category must be 255 characters or fewer.
- The
Categoryvalue contains more than 255 characters.
- Shorten
Categoryto 255 characters or fewer before you send the request. - Validate the value in your application and reject or trim any overlong category names before submission.
- Use categories for broad message grouping, and keep each category label concise.