Why am I receiving an “unexpected error occurred” message when adding a public key?

Jessie
Jessie
  • Updated

Issue

A user encounters an error message saying “an unexpected error occurred” when trying to add a public key.

Environment

  • Account Management
  • API/SDK

Resolution

To resolve the issue of receiving an “unexpected error occurred” message when adding a public key, follow these steps:

  1. Check the Public Key Format:
    • Ensure that the public key is in the correct format. The system only accepts PEM-encoded RSA public keys.
  2. Convert the Public Key (if needed):
    • If the public key is not in PEM format, convert it using the following steps:
    • Open a text editor and paste the public key.
    • Ensure the key starts with -----BEGIN PUBLIC KEY----- and ends with -----END PUBLIC KEY-----.
    • Save the file with a .pem extension.
  3. Reattempt Adding the Public Key:
    • After confirming the key is in the correct format, try adding it again.
  4. Contact Support if the Issue Persists:
    • If the problem continues after ensuring the key is correctly formatted, contact support for further assistance.

Cause

This error typically occurs when the public key is not in the required PEM-encoded RSA format.

 

Was this article helpful?

Have more questions? Submit a request