---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/95123#article
headline: "95123: Public Key Encryption credential is invalid"
url: https://www.twilio.com/docs/api/errors/95123
inLanguage: en
dateModified: 2026-03-11T22:03:37.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 95123: Public Key Encryption credential is invalid

Log Type: APPLICATION

Log Level: ERROR

## Description

The encryptionCredentialSid specified in the Service parameter is invalid.

### Possible causes

* The Credential Sid does not exist, is expired or has been deleted.
* The credential Sid you attempted to use does not belong to this account.

### Possible solutions

* Check Credentials of your account to ensure that your public key has been created and has not been deleted.
* If you use subaccounts, ensure that your public key has also been created in the subaccount.
