13110: Annotate: Annotate must contain one valid nested element
ERROR
Twilio returns this error when you send Voice TwiML with an <Annotate> element that does not contain a valid child element. Twilio only allows BillingReferenceTag inside <Annotate>, so an empty <Annotate> element or one that contains a different child element triggers this error.
<Annotate>is empty and does not include aBillingReferenceTagchild.<Annotate>contains a nested element other thanBillingReferenceTag. Twilio only allowsBillingReferenceTaginside<Annotate>.- The nested element name is misspelled or uses the wrong case. TwiML element names are case-sensitive.
- Add a valid
BillingReferenceTagchild inside<Annotate>. For example, use<Annotate><BillingReferenceTag>order-123</BillingReferenceTag></Annotate>. - Remove any unsupported child elements from
<Annotate>and keep onlyBillingReferenceTag. - Verify that the child element name and casing exactly match
BillingReferenceTag. - Keep the
BillingReferenceTagvalue at 128 characters or fewer to avoid error 13120.