err:unkey:authorization:key_disabledExample response
keys.verifyKey never return this error. A disabled key there comes back as valid: false with code DISABLED.
How to fix
- Create a new root key under Root Keys in the dashboard sidebar, with only the permissions the service needs.
- Switch the service to the new key and delete the disabled one.
- If you don’t know why the key was disabled, contact support with the
requestId.
Related errors
err:unkey:authentication:key_not_found: the key doesn’t exist or was deleted.err:unkey:authorization:workspace_disabled: the whole workspace is disabled.err:unkey:authorization:forbidden: the key is expired.