13217: Dial: Invalid record value
VOICE
WARNING
Twilio raises this warning when your <Dial> verb includes a record attribute value that Twilio does not support. This error returns the message record must be "true" or "false". For <Dial>, supported recording values are do-not-record, record-from-answer, record-from-ringing, record-from-answer-dual, and record-from-ringing-dual. For backward compatibility, true maps to record-from-answer and false maps to do-not-record.
- Your
<Dial>verb setsrecordto a value that is not one of the supported recording options. - Your application sends a typo, unexpected capitalization, or extra characters in the
recordvalue, so Twilio cannot match it to a valid option. - Your application builds TwiML dynamically and the variable used for
recordresolves to an empty or unsupported value at runtime.
- Update the
<Dial>verb so therecordattribute uses a supported value such asdo-not-record,record-from-answer,record-from-ringing,record-from-answer-dual, orrecord-from-ringing-dual. - If you use the legacy boolean form, set
record="true"to userecord-from-answer, or setrecord="false"to usedo-not-record. - Review any code or template logic that generates your TwiML and confirm it outputs the exact
recordvalue you expect before Twilio processes the<Dial>verb.