Ok this answer is coming a bit late, but I ran into a very similar error message and could not find much information on it. try use the basic authentication, some Jira REST API needs this to authenticate. It resets every quarter so you always have a chance! Join now to unlock these features and more. Regarding your comment about the sharedSecret, that sounds really plausible to me.I'm starting to feel that there could possibly be a bug in the Jira API server side where the sharedSecret may not be stored properly on reinstalls. Facing 401 Unauthorized error for jira search api :https://jira.
.com/rest/api/2/search?jql=project=ERROR: 401 UnauthorizedUnauthorized (401)