Skip to main content
err:unkey:application:portal_key_limit_reached
An end user tried to create a key in the Customer Portal, but they already hold as many live keys in the keyspace as their portal session allows. No key was created. You get HTTP 412.
Example response

Likely causes

  • The end user created keys in the portal up to the key cap on their session.
  • Keys you issued to the same externalId with keys.createKey count toward the same cap. Expired and deleted keys don’t.

How to fix

  1. Delete a key the end user no longer needs with keys.deleteKey, or wait for one to expire.
  2. To allow more keys, create a new portal session with a higher key cap. The cap is fixed for the lifetime of a session.
The cap only limits keys created through the portal. You can still issue keys to the same end user with keys.createKey.
Last modified on November 18, 2026