The message body generated for your verification is too long. The maximum number of characters allowed is 500.
Possible Causes
Template Substitutions: If you are using a template, ensure that it, including any variable substitutions, does not exceed the 500-character limit.
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
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}}"
Friendly Name Substitutions:
If you're using a friendly name for identification, ensure it's concise.
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.
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.