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

13249: Dial: Invalid username or password attribute


WARNING: 13249

warning-13249 page anchor
WARNING

Twilio returns this warning when the username or password attribute on the <Dial> noun is invalid. This usually happens when you use <Sip> with missing, malformed, or unsupported authentication credentials.

Possible causes

possible-causes page anchor
  • The <Sip> noun inside <Dial> includes an empty username or password attribute
  • The username or password attribute contains an invalid value
  • You provided authentication attributes in a format that Twilio cannot use for SIP authentication
  • The generated TwiML includes a typo in the username or password attribute name or value
  • Review the <Dial> and <Sip> TwiML you return and confirm the username and password attributes are present only when needed
  • Make sure both credentials are valid for the SIP endpoint you are dialing
  • Verify the credentials do not contain unintended empty strings, template errors, or malformed characters
  • Validate your TwiML against the <Dial> noun and <Sip> noun documentation and correct any invalid attributes before returning the response
  • If you generate TwiML dynamically, log the final XML and inspect the values passed to username and password

Additional resources

additional-resources page anchor