13699: Record: Invalid trim value
VOICE
WARNING
This warning appears when a Voice recording configuration includes a trim value that Twilio does not accept. Use trim-silence or do-not-trim for both TwiML <Recording> and the Recordings resource.
- The
trimparameter contains a typo or another unsupported value. - The request is using a
trimvalue that does not match the Voice recording surface you are calling.
- Set
trimtotrim-silenceif you want Twilio to remove leading and trailing silence, ordo-not-trimif you want to keep the full recording. - Confirm whether you are starting the recording with TwiML
<Recording>or with the Recordings resource, then use the documentedtrimvalues for that surface. TwiML<Recording>defaults totrim-silence; the Recordings resource defaults todo-not-trim. - Resend the request after correcting the
trimvalue.