Jira rest api (version 3) calls made using OAuth 2.0 fail. It worked for sometime with a new token then started failing. Regenerated the auth code and token but still fails. calls made with basic auth work fine. The problem is only while using OAuth 2.0.
status code: 401
error: 'Client must be authenticated to access this resource.'