Skip to contentSkip to navigationSkip to topbar
On this page

Message Length Exceeded



ERROR: 60247

error-60247 page anchor
VERIFY
ERROR

The message body generated for your verification is too long. The maximum number of characters allowed is 500.

Possible Causes

possible-causes page anchor
  1. Template Substitutions: If you are using a template, ensure that it, including any variable substitutions, does not exceed the 500-character limit.
  2. Friendly Name, Code, or Custom Substitutions: Review your message's friendly name, code, or custom substitutions. These elements might be increasing the message length and causing it to exceed the limit.
  1. Template Substitutions:

    • Review the length of dynamic variables or placeholders in your template, such as {{customer_name}} or {{order_number}}. These values might be longer than expected once replaced.
    • Simplify or abbreviate the content of your template. For example, instead of "Dear {{customer_name}}, we are pleased to inform that your code is {{code}}", try "Hi {{customer_name}}, your code is {{code}}"
  2. Friendly Name Substitutions:

    • If you're using a friendly name for identification, ensure it's concise.
  3. Code Substitutions:

    • Check for codes that are dynamically added to the message. Long codes may need to be shortened. For example, you could change the code length of your verify service.
  4. Custom Substitutions:

    • Look for unnecessary custom substitutions that may be inflating the message length.

These substitutions are focused on shortening the content without losing clarity, helping users keep their messages within the 500-character limit.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.