---
page_type: error
code: 70104
message: "70104: Invalid Public Key"
level: ERROR
---

## Error - 70104

### Invalid Public Key

The Request tries to store a Public Key in Twilio. This public key cannot be parsed. Only supported key format is X.509 PEM. The prefix and suffix (-----BEGIN PUBLIC KEY-----) of the key can be present (but not mandatory).

#### Possible Solution:

Make sure the public key is correct in the request:

- The key is in X.509 PEM format
- There are no copy paste errors
- All the parts of the key are present in the request.