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
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 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)
0 votes
0 answers

Hello We are using the REST API with the Business Unit method to get all our users in once, and it works really well, the API return around 150 in a second when ... proper way with Adaxes REST API to read the current expiration time for all accounts? Thanks

asked Jun 25, 2022 by ygini (240 points)
0 votes
1 answer

Hello! We are currently trying to use the REST API to search for all group objects in our domain, but the search result is only returning 1000 objects. We tried supplying a ... the request. Is there a way to retrieve more than 1000 objects using the REST API?

asked Feb 16, 2022 by KelseaIT (320 points)
0 votes
1 answer

Is it possible to add multiple members to a group in a singe call to the REST API? The example code only shows a single member. What would the data structure look like in that case?

asked Dec 13, 2021 by swengr59 (60 points)
3,548 questions
3,238 answers
8,232 comments
547,812 users