0 votes

We are getting this error on restapi when connecting. What could be causing this? We recently had to do a complete reinstall from a configuration backup due to a rollback of 2023. We are running 2021.1

440 : '{'message':'Failed to decrypt an authentication token. The decryption key is missing.','code':'unauthenticated'}'

by (2.3k points)

1 Answer

0 votes
by (3.6k points)
selected by
Best answer

Hello Mark,

This error message can occur when the same security token for REST API is renewed and reused for a long time, approximately a week. Once a week, Adaxes generates new asymmetric keys used to encrypt and decrypt the authentication data. If a token was encrypted using the previous public key, it cannot be decrypted with the new key.

To remedy the issue, you need to establish a new authentication session and obtain a new security token.

Related questions

0 votes
0 answers

After a recent upgrade I can no longer access our web portal externally - and only get the following. Sometimes it works for a few minutes but then stops. HTTP Error ... and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS.

asked May 22 by ckelley (60 points)
0 votes
1 answer

Any chance there is support for configuring mail settings in adaxes using HTTP Graph API integration instead of Exchange Online SMTP?

asked Jul 10 by emeisner (160 points)
0 votes
1 answer

I am trying to build a custom command to add a specific user to a rule based group in adaxes and I am curious if it is something we can use the API to complete?

asked Mar 7 by Brian (40 points)
0 votes
1 answer

Hi, { "criteria": { "objectTypes": [ { "type": "USER", "items": { "type": 1, "items": [ { "type": 0, "property": "accountDisabled", "operator": "eq" ... ": { "isDisabled": true, Please share the right request JSON to get the required result. Thanks, Lohith

asked Oct 3, 2024 by lom (20 points)
0 votes
1 answer

Hello, We encoutered an issue with Adaxes in default configuration. We are mainly using Adaxes for its REST API, to automate identity lifecycle with our HRIS. We tried to update ... got enforced even on an API REST attribute change? If so how to disable it?

asked Aug 18, 2022 by ygini (240 points)
3,728 questions
3,406 answers
8,615 comments
550,136 users