21901: DltTemplateId is invalid
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.
- The
DltTemplateIdvalue is missing required characters or contains an invalid format. - The
DltTemplateIdvalue is longer than the supported limit. - The
DltTemplateIdvalue does not match the template ID registered with your sender on the applicable DLT platform. - You submitted a
DltTemplateIdfor 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
DltTemplateIdvalue for your registered India messaging template. - Review your application logic to confirm that the
DltTemplateIdparameter is populated with the expected template ID and not another internal reference. - Remove extra characters, whitespace, or formatting issues from the
DltTemplateIdvalue 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.