I'm trying to fetch issue details. i'm getting below error
{"errorMessages":["OAuth 2.0 is not enabled for method: GET /rest/api/3/10037"]}
Below is the CURL
curl --request GET \
--url 'https://api.atlassian.com/ex/jira/{cloud_id}/rest/api/3/10037' \
--header 'Authorization: Bearer <Access_Code>' \
--header 'Accept: application/json'
Please note if i'm using Basic Authentication( email id and API Token in header) it's working
Issue is only when i'm trying with OAuth 2.0
Community moderators have prevented the ability to post new answers.