---
page_type: error
code: 60247
message: "60247: Message Length Exceeded"
level: ERROR
product: Verify
---

## Description

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

### Possible Causes

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.

### Possible Solutions

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.