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

13217: Dial: Invalid record value


WARNING: 13217

warning-13217 page anchor
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.

Possible causes

possible-causes page anchor
  • Your <Dial> verb sets record to a value that is not one of the supported recording options.
  • Your application sends a typo, unexpected capitalization, or extra characters in the record value, so Twilio cannot match it to a valid option.
  • Your application builds TwiML dynamically and the variable used for record resolves to an empty or unsupported value at runtime.
  • Update the <Dial> verb so the record attribute uses a supported value such as do-not-record, record-from-answer, record-from-ringing, record-from-answer-dual, or record-from-ringing-dual.
  • If you use the legacy boolean form, set record="true" to use record-from-answer, or set record="false" to use do-not-record.
  • Review any code or template logic that generates your TwiML and confirm it outputs the exact record value you expect before Twilio processes the <Dial> verb.

Additional resources

additional-resources page anchor