---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/16104#article
headline: "16104: Voice Recording: Unavailable due to encryption failure"
url: https://www.twilio.com/docs/api/errors/16104
inLanguage: en
dateModified: 2026-03-20T20:33:25.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 16104: Voice Recording: Unavailable due to encryption failure

Log Level: ERROR

## Description

This error means Twilio could not store a recording because public key encryption failed. It applies only when Voice Recording Encryption is enabled. When this happens, Twilio deletes the recording file, sets the Recording resource `Status` to `failed`, returns `ErrorCode` `16104`, and leaves `EncryptionDetails` `null`.

### Possible causes

* No public keys are available on the account.
* An intermittent Twilio system issue interrupted encryption.

### Possible solutions

* Create a Twilio Public Key resource, then enable Voice Recording Encryption in `Programmable Voice > Settings` and select the key you want Twilio to use.
* Review the notification in the Debugger so you can confirm whether the failure was caused by public-key inaccessibility or an internal system issue.
* After you fix the public-key configuration or the service issue clears, record again. The failed recording file is deleted and is not available for access.

#### Additional resources

* [Voice Recording Encryption](/docs/voice/tutorials/voice-recording-encryption)
* [Recordings resource](/docs/voice/api/recording)
