Java OAuth Example 502 Error

Everything seems to work fine until the OAuth Dance (Step 2.2)
I run the “java -jar OAuthTutorialClient-1.0.jar requestToken” line and got the following return. Why would I be getting a Bad Gateway error?

//UPDATE: This was my error.
I set up my jira_home property as
Should have been

User Error. Ooops. My bad.

Hi @tyree.pini,

Welcome to the community! Can you please try using enclosing your output inside a ` or use the double quotes icon?


Thanks Anne. I just updated my problem. Turns out I was making the error with an extra period in the jira_home.

Awesome! Just mark it as solved for future developers’ reference.