Permission error when get project role for project or get project role details

Hi,
I am developing a jira forge app. I used 2 api:
Get project role for project : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-project-projectidorkey-role-id-get
Get project role details : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-project-projectidorkey-roledetails-get

The manifest.yml field define these permission as document

permissions:
  scopes:
    - 'storage:app'
    - 'read:jira-work'
    - 'read:jira-user'

And code:

export const getProjectRoles = async (
  projectId: string
): Promise<ProjectRoleResponse[] | null> => {
  const response = await api
    .asApp()
    .requestJira(
      route`/rest/api/3/project/${projectId}/roledetails?excludeConnectAddons=true`,
      {
        headers: {
          Accept: 'application/json',
        },
      }
    );
  const responseData = await response.json();
  if (response.status !== 200) {
    console.error(
      `Error to get all project roles: ${response.status} ${response.statusText}`,
      responseData
    );
    return null;
  }
  return responseData;
};

There was throw:

 f3ba3aeb64aa4495  Error to get all project roles: 403 Forbidden {
  errorMessages: [ 'You cannot edit the configuration of this project.' ],
  errors: {}
}

And for api get role for project the:
Code:

const response = await api
    .asApp()
    .requestJira(route`/rest/api/3/project/${projectIdOrKey}/role/${roleId}`, {
      headers: {
        Accept: 'application/json',
      },
    });
  const responseData = await response.json();
  if (response.status !== 200) {
    console.error(
      `Error checking permission has in project role: ${response.status} ${response.statusText}`,
      responseData
    );
    return false;
  }
....

==> Throw error:

Error checking permission has in project role: 403 Forbidden {
  errorMessages: [ 'You cannot edit the configuration of this project.' ],
  errors: {}
}

I also try to revoke the permission of app site and reinstall the app again, but the error is still there.
I am using Jira Software (Cloud) - Standard plan
If I try to switch to Jira Software (Cloud) - Free plan the API can work. Do you have any idea here?

Thank you so much,

Hi, do anybody have the idea here?

Today I got the same problem with API Get application property: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jira-settings/#api-group-jira-settings

My code was:

const response = await api
    .asApp()
    .requestJira(route`/rest/api/3/application-properties`, {
      headers: {
        Accept: 'application/json',
      },
    });
  const responseData: ApplicationProperty[] | null = await response.json();
  if (response.status !== 200) {
    console.error(
      `Error to get application property: ${response.status} ${response.statusText}`,
      responseData
    );
    return null;
  }
  return responseData;

I got the error:

ERROR   07:10:29.720  5bff3b5da3031253  Error to get application property: 403 Forbidden { errorMessages: [ 'No permission' ], errors: {} }

Manifest.yml file:

...
permissions:
  scopes:
    - 'storage:app'
    - 'read:jira-work'
    - 'read:jira-user'
    - 'manage:jira-configuration'
  content:
    styles:
      - 'unsafe-inline'
....

:wave: :wave: :wave: