Forum Discussion

gabicojo's avatar
gabicojo
New Contributor
4 years ago
Solved

500 Server error when trying to generate JWT token

Hi,   New member here. My Zephyr for Jira Cloud app is still trial. Wanted to get a JWT token to test some REST API operations and here is the result: 500 Internal Server Error. Is it because t...
  • gabicojo's avatar
    4 years ago

    Sorry,

     

    My bad. The 4 keys were supposed to be passed in the POST body and I put them in the headers...

    ... And the body had some random json object instead.

     

    Moved the keys in the body and retrieved th JWT successfully.

     

    Still, nullPointerException? Coming from Haskell where exceptions (errors) are handled as data types I am a bit skittish...!

     

    Regards,

    Gabriel