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

16107: Voice Recording: Encrypted with alternate public key


ERROR: 16107

error-16107 page anchor
VOICE
ERROR

When Voice Recording Encryption is enabled, Twilio encrypts the recording with an alternate public key if the configured key cannot be retrieved or is no longer usable. Twilio reports the key that was actually used in EncryptionDetails.public_key_sid and sends a notification to the account, which you can review in the Console Debugger. This applies only when call recording encryption is enabled.

Possible causes

possible-causes page anchor
  • The public key configured for Voice Recording Encryption is invalid.
  • The configured public key was deleted from the account.
  • Twilio could not determine or retrieve the configured key and fell back to the most recently added retrievable public key.
  • Create a valid Twilio Public Key resource and paste the full contents of public_key.pem, including the BEGIN PUBLIC KEY and END PUBLIC KEY lines.
  • Update Programmable Voice > Settings to select the correct public key for Voice Recording Encryption.
  • Check EncryptionDetails.public_key_sid and the Console Debugger notification to confirm which public key Twilio used.
  • Replace any deleted or invalid key before you create additional recordings.

Additional resources

additional-resources page anchor