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

16101: Voice Recording : Unavailable because duration is too short


WARNING: 16101

warning-16101 page anchor
VOICE
WARNING

Twilio returns this warning when a voice recording is shorter than the minimum duration required for the recording workflow. With <Record>, the final duration can be shorter than the time spent recording when Twilio trims leading or trailing silence or when no RTP audio data is received during recording.

Possible causes

possible-causes page anchor
  • The caller ended the recording before enough audio was captured, such as by hanging up, pressing a finishOnKey digit, or reaching maxLength.
  • trim-silence removed leading or trailing silence, which made the final recording shorter.
  • Twilio did not receive RTP audio data during the recording, so the effective duration was shorter than expected.
  • Keep the caller on the line long enough to capture audio that meets your minimum duration requirements.
  • Review timeout, finishOnKey, and maxLength so the recording does not end before you capture enough audio.
  • Set trim to do-not-trim if you need to preserve leading and trailing silence in the final recording.

Additional resources

additional-resources page anchor