msolomonTMG/jira-comment-slack-notification

JIRA Mention feature is returning: statusCode: 401, data: 'oauth_problem=token_rejected'

guba-jeckerman opened this issue · 1 comments

I know you're swamped, so I appreciate the work and help you commit to this.

The app. is working great for notifying slack users of JIRA mentions. However I'm running into problems with the "Respond from Slack" option. I attached a portion of the applications logs starting with the mention being made, down to the comment trying to be posted to JIRA.

I've verified the RSA_PRIVATE_KEY, SLACKBOT_TOKEN and SLACKBOT_OAUTH_TOKEN values with the Jira Application Link. Deleting and re-creating it, to be sure.

2018-08-10T17:17:46.170776+00:00 app[web.1]: ---------ERROR---------
2018-08-10T17:17:46.171117+00:00 app[web.1]: { statusCode: 401, data: 'oauth_problem=token_rejected' }
2018-08-10T17:17:46.171385+00:00 app[web.1]: SUCCESS
2018-08-10T17:17:46.171501+00:00 app[web.1]: oauth_problem=token_rejected

log.txt

@guba-jeckerman you know what, I've had this happen to me once but I couldn't figure out what happened.

When I checked my Jira Application Link by clicking the Edit icon next to my app link's settings, my configuration was completely blank. I don't know how that happened but I repeated the steps for setting up the link and it started to work again.

In the short term, try repeating those steps. This issue should stay open though until we figure out what's really going on.