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:
Announcements
Inside Zephyr Event Schedule
Join us for 'Inside Zephyr' on May 17-28 and win prizes!

Video inteview Available on

Zephyr Scale - Vitor Pelizza, Senior Engineering Manager
The future of test management

May 17, 12pm GMT

Zephyr Enterprise - Govind Droila, Product Owner
Product roadmap and key goals for 2021

May 17, 12pm GMT

Zephyr Squad - Jagadeesh Madhura, QA Lead
How Zephyr Squad is used internally

May 17, 12pm GMT
Top Kudoed Authors