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.
Were you able to resolve this I am having the same issue?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.