With the latest update from TRAI, there are multiple new error codes that have been added, in order to explain why messages are failing, based on the reason for failure.

 

To help you understand better why some messages fail, here are a few examples:

  1. TEMPLATE-NOT-MATCHED

    1. Example 1:

Registered Template ID (Example): 

100737533408942XXXX

Registered content (Example): 

{#var#}{#var#} has run out of a few items for your ABCD order {#var#}. Please click on the link below or go to the help section and open the active conversation to select an alternate item for your order {#var#}

Message sent (Example):

XXXXXXXXXXXXXXXXX has run out of a few items for your order XXXXXXXXXXXX. Please click on the link below or go to the help section and open the active conversation to select an alternate item for your order XXXXXXXXXXXXXXXXX

Reason for failure:

Additional word “ABCD” in the registered content is not there in the message content being sent. 

Correction:

Add “ABCD” in the message being sent out.

 

  1. Example 2:

Registered Template ID (Example): 

100757711926270XXXX

Registered content (Example): 

Your application to join as a Delivery Partner is pending. To get started, click on: {#var#} - ABCD Company

Message sent (Example):

Your application to join as a Delivery Partner is pending.  To get started, click on: XXXXXXXXXXXXXX

Reason for failure:

Brand name “ABCD Company ” is there in the registered content, but is not there in the message content being sent. 

Correction:

Add “- ABCD Company ” in the message being sent out.

  1. Example 3:

Registered Template ID (Example): 

100750289585005XXXX

Registered content (Example): 

ABCD order {#var#} was cancelled because we didn't receive confirmation for the order despite multiple attempts to contact you. Please confirm orders or respond to notifications to avoid cancellation of future orders.

Message sent (Example):

The order XXXXXXX was cancelled because we didn't receive confirmation for the order despite multiple attempts to contact you. Please confirm orders or respond to notifications to avoid cancellation of future orders.

Reason for failure:

Brand name “ABCD Company ” is there in the registered content, but is not there in the message content being sent. 

Correction:

Replace “The” with “ABCD” in the message being sent.

 

  1. TEMPLATE-VARIABLE-EXCEEDED-MAX-LENGTH

    1. Example 1

Registered Template ID (Example): 

100710867021880XXXX

Registered content (Example): 

We're so sorry about your last ABCD order! Replacement order #12345678901 is on its way. Additional amount payable: Rs.0. Track your order: http://abcd.ef/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Message sent (Example):

We're so sorry about your last ABCD order! Replacement order #{#var#} is on its way. Additional amount payable: Rs. {#var#}. Track your order: http://abcd.ef/{#var#}

Reason for failure:

Character limit for each {#var#} is 30. Character limit has exceeded. The message pushed has 33 characters in the variable parameter.

Correction:

Register the template as : 

We're so sorry about your last ABCD order! Replacement order #{#var#} is on its way. Additional amount payable: Rs. {#var#}. Track your order: http://abcd.ef/{#var#}{#var#}{#var#}

 

  1. Example 2

Registered Template ID (Example): 

100755215329889XXXX

Registered content (Example): 

{#var#} has received your ABCD order. http://abcd.ef/{#var#}

Message sent (Example):

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX has received your ABCD order. http://abcd.ef/XXXXXXXXXXX

Reason for failure:

Character limit for each {#var#} is 30. Character limit has exceeded. The message pushed has 41 characters in the variable parameter.

Correction:

Register the template as : 

{#var#}{#var#}{#var#} has received your ABCD order. http://abcd.ef/{#var#}{#var#}

 

  1. Example 3

Registered Template ID (Example): 

100705131344768XXXX

Registered content (Example): 

₹{#var#} has been credited to your ABCD Money (Powered by Hello Bank) balance for {#var#}. Updated balance is ₹{#var#}

Message sent (Example):

₹XXXX has been credited to your ABCD Money (Powered by Hello Bank) balance XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Updated balance is ₹XXXXX

Reason for failure:

Character limit for each {#var#} is 30. Character limit has exceeded. The message pushed has 39 characters in the variable parameter.

Correction:

₹{#var#} has been credited to your ABCD Money (Powered by Hello Bank) balance for {#var#}{#var#}{#var#}. Updated balance is ₹{#var#}