cancel
Showing results for 
Search instead for 
Did you mean: 

500 Server error when trying to generate JWT token

SOLVED
gabicojo
New Contributor

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 the Zephyr account is still trial?

 

gabicojo_0-1611099169202.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
gabicojo
New Contributor

Re: 500 Server error when trying to generate JWT token

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 

View solution in original post

1 REPLY 1
gabicojo
New Contributor

Re: 500 Server error when trying to generate JWT token

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 

View solution in original post

New Here?
Join us and watch the welcome video: