Replies: 1 comment 14 replies
-
I don't find any issue with your test case. Are you able to use the same token in Postman? |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks,
i recently started using PactumJS and now i need to pass token in header which i'm getting from first post request
Everything is okay in first part of grabbing access token, but when i pass that token in second part spec()... im getting that "JWT token expired or invalid" .What could be the problem, I would appreciate your help. Thanks in advance
Part of header looks like this
error message is 401
Beta Was this translation helpful? Give feedback.
All reactions