cancel
Showing results for 
Search instead for 
Did you mean: 

ApiServer Error 500 at Hyland.AccessTokenValidation.OAuth2AccessTokenValidator

Tommy_Sommer
Champ in-the-making
Champ in-the-making

Hello together

 

I have an issue while sending any Rest Call to the ApiServer.

 

FIrst of all I have installed the IdP and the ApiServer on a new enviroment.

Licences are checked and should not be an issue.

The IdP call to get a new bearer token works just fine and without a problem.

 

But when I'm calling any rest post via postman I get instantly an error 500.

In the Diagnostics Console is following error thrown:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Hyland.AccessTokenValidation.OAuth2AccessTokenValidator.<ValidateJwt>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Hyland.AccessTokenValidation.OAuth2AccessTokenValidator.<ValidateToken>d__3.MoveNext()

 

Did you encounter this issue as well?

How can I get this fixed?

 

Thank you all for any helpful advice.

 

Best regards

Tommy

1 REPLY 1

Luis_Cornejo
Champ in-the-making
Champ in-the-making

It looks like your API server is not setup correctly. Its trying to validate the issued token that your POSTman client sent. I would check the API settings to talk to the IdP or it might be some configuration on how you did the client settings for the API in the IdP Server.

 

I would run through the config MRG for both the above points.