OAuth 2.0 is not enabled for method

Darragh Carroll
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2024

I constantly receive an OAuth 2.0 error message when calling any endpoint of the servicedeskapi.

Example: "OAuth 2.0 is not enabled for method: GET /rest/servicedeskapi/servicedesk"

 

I've tried the older API and v2, but both return the same error. The scopes I'm using are  "read:servicedesk-request", "manage:servicedesk-customer", "write:servicedesk-request", "offline_access"

Example requests below. 

GET https://api.atlassian.com/ex/jira/{cloudId}/rest/servicedeskapi/request

H- Authorization: Bearer xxx

H- Accept: application/json

*Fails with OAuth 2 error

 

GET https://{myDomain}.atlassian.net/rest/servicedeskapi/request

-H Authorization: Bearer xx

-H Accept: application/json

*Fails with OAuth 2 error

Any ideas as to why these calls fail? As mentioned, all other calls fail, GET and POST on any endpoint.

 

For more context, this worked for a client until January 31st and suddenly began failing. 

1 answer

0 votes
Luke Whitelock
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2024

Were you able to resolve this I am having the same issue?

Darragh Carroll
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2024

Unfortunately not Luke. Still troubleshooting. I created a new OAuth app with the same scopes as my prod app, and it works fine. Bit of a head scratcher. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events