Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Warning
Application error

13699: Record: Invalid trim value

Twilio Voice DocumentationVoice

Description

description page anchor

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.

Possible causes

possible-causes page anchor
  • The trim parameter contains a typo or another unsupported value.
  • The request is using a trim value that does not match the Voice recording surface you are calling.
  • Set trim to trim-silence if you want Twilio to remove leading and trailing silence, or do-not-trim if 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 documented trim values for that surface. TwiML <Recording> defaults to trim-silence; the Recordings resource defaults to do-not-trim.
  • Resend the request after correcting the trim value.

Additional resources

additional-resources page anchor