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

13111: Annotate: Annotate must contain only one of element X


ERROR: 13111

error-13111 page anchor
ERROR

This error occurs when Twilio processes an <Annotate> instruction that contains more than one instance of a nested element that is allowed only once.

Possible causes

possible-causes page anchor
  • The <Annotate> block includes the same child element more than once.
  • Your application generated duplicate annotation elements while building TwiML dynamically.
  • Two XML fragments were combined into a single <Annotate> block and created a duplicate child element.
  • Review the <Annotate> block and keep only one instance of each supported child element.
  • Inspect the final TwiML returned by your application and remove any duplicate nested elements before sending it to Twilio.
  • If you generate TwiML with templates or helper code, update that logic so each annotation field is added only once.

Additional resources

additional-resources page anchor