API request returns return code 500, user access token is ok
Completed
Hello,
we have a problem accessing via API, in another environment it works. Unfortunately the 500 error isn't so meaningful for us.
The token for the user (api/refresh-tokens) is issued in both environments, so the username and PW are OK. The following call to "api/admin/users" returns the users in one environment and the following error message in the other.
I compared the configuration and the user configuration on DB level and for me both environment look same. Unfortunately I can't do anything with the JWT hint, I hope it tells you more ;)
{"code":500,"reason":null,"description":"Oh nein! Während der Verarbeitung ist ein Fehler aufgetreten. Bitte versuchen Sie es später noch einmal.\n\nAusnahme:\nHandler dispatch failed; nested exception is java.lang.NoSuchMethodError: com.auth0.jwt.JWTVerifier.init(Lcom/auth0/jwt/algorithms/Algorithm;)Lcom/auth0/jwt/interfaces/Verification;\nGrundursache:\ncom.auth0.jwt.JWTVerifier.init(Lcom/auth0/jwt/algorithms/Algorithm;)Lcom/auth0/jwt/interfaces/Verification;"};) Stefan (YF Version 9.8.2)
Hi Stefan,
I have tried the api/admin/users and it seems to be working in my environment as well:
Could you please try sending a GET request from postman and see if you see still get the same error?
Thanks,
Deepak
Hi Stefan,
I have tried the api/admin/users and it seems to be working in my environment as well:
Could you please try sending a GET request from postman and see if you see still get the same error?
Thanks,
Deepak
Replies have been locked on this page!