---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/13699#article
headline: "13699: Record: Invalid trim value"
url: https://www.twilio.com/docs/api/errors/13699
inLanguage: en
dateModified: 2026-03-20T20:33:25.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 13699: Record: Invalid trim value

Log Type: APPLICATION

Log Level: WARNING

## Description

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

* 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.

### Possible solutions

* 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

* [TwiML Voice: `<Recording>`](/docs/voice/twiml/recording)
* [Recordings resource](/docs/voice/api/recording)
