Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

matéo 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

0 votes
Sameh Mohamed
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!
July 21, 2022

Suggest an answer

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

Atlassian Community Events