13249: Dial: Invalid username or password attribute
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.
- The
<Sip>noun inside<Dial>includes an emptyusernameorpasswordattribute - The
usernameorpasswordattribute 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
usernameorpasswordattribute name or value
- Review the
<Dial>and<Sip>TwiML you return and confirm theusernameandpasswordattributes 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
usernameandpassword