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

# 70102: Unsupported Public Key Length

Log Level: ERROR

## Description

The Request tries to store a Public Key in Twilio. This public key can be parsed, has a correct encryption algorithm, but the request fails because the key has an invalid length.

### Possible causes

* Public key lenght different than 2048.

### Possible Solution

* Regenerate a new keypair with length 2048 and retry.
