ad-hoc 401 Unauthorized errors #551
Unanswered
KevinJTaylor
asked this question in
Q&A
Replies: 1 comment 9 replies
-
I think you will need to provide more details/code. Also, do you not have control over the server side? If you do it would be much easier to sprinkle debug logs than to try to guess what the cause might be. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, has anyone else encountered random errors when running tests against jwx-enabled restful services?
I'm using httpexpect to do these test, generating an access token and calling the endpoint in my test, validating the response code and if that works obviously the data itself (obviously I'm using jwx (jwk/jwt) to do the authentication/authorisation). Generally what happens is, one or two tests fail on each run due to a 401 Unauthorized error, but it is nearly always different tests. I believe the problem is down to expiry, but that is a guess, and it is difficult to be sure due to the randomness of the failures.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions