Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

57005: 'Category' is too long

Twilio Messaging DocumentationMessaging

Description

description page anchor

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.

Possible causes

possible-causes page anchor
  • The Category value contains more than 255 characters.
  • Shorten Category to 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.

Additional resources

additional-resources page anchor