Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

21901: DltTemplateId is invalid


ERROR: 21901

error-21901 page anchor
ERROR

The DltTemplateId value in your request is not valid. This error occurs when you send an invalid Distributed Ledger Technology template identifier for messaging in India, or when the value does not match the format Twilio expects for a registered DLT template.

Possible causes

possible-causes page anchor
  • The DltTemplateId value is missing required characters or contains an invalid format.
  • The DltTemplateId value is longer than the supported limit.
  • The DltTemplateId value does not match the template ID registered with your sender on the applicable DLT platform.
  • You submitted a DltTemplateId for traffic that does not use an approved India DLT template configuration.
  • Your application passed the wrong parameter value, such as a template name or internal identifier instead of the DLT template ID.
  • Verify that you are sending the correct DltTemplateId value for your registered India messaging template.
  • Review your application logic to confirm that the DltTemplateId parameter is populated with the expected template ID and not another internal reference.
  • Remove extra characters, whitespace, or formatting issues from the DltTemplateId value before sending the request.
  • Confirm that the template ID you use matches the sender, template, and use case approved in your DLT registration.
  • Review your India compliance and messaging configuration before resubmitting the message.

Additional resources

additional-resources page anchor