Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Reponse 403 from the REST API (Missing scopes when there's not)

STI2D TERM June 9, 2022

Hello everyone,

 

I'm currently running into a big problem: I can't send request to the REST API.

In my case, I want to get the list of all organizations in my project, so I'm using 

GET /rest/servicedeskapi/organization

I'm sending it with the correct headers, and my acces token, juste like in the documentation.

But I'm getting a 403 Response, saying this:

Reponse from Atlassian API: 403 {
"errorMessages":[
"Access to the resource was denied due to missing scope grants. Your app was granted the following scopes: [manage/org/public-api].
The resource can be accessed by having one of these groups of scopes:
* [read:organization:jira-service-management]
* [manage:servicedesk-customer]
"
]
}

 

Although I have read:organization:jira-service-management manage:servicedesk-customer in my maniseft.yml

 

permissions:
  scopes:
    - read:jira-work
    - read:jira-user
    - read:organization:jira-service-management
    - manage:servicedesk-customer
I've also forge install --update correctly, and deployed multiple times already.
I really hope someone will be able to help me, this is really important for my job.
Thank you for reading this.

1 answer

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events