403 - OAuth 2.0 is not enabled for this method - when doing api requests

Hello, i am currently having problems with requestJira of @forge/bridge. The doc describes this method as following The requestJira bridge method enables custom UI apps to call the Jira Cloud platform REST API as the current user. but if call (as example) /rest/api/3/user/properties inside the frontend react app, this error is returned from the request 403 - OAuth 2.0 is not enabled for this method.

        const response = await requestJira('/rest/api/3/user/properties?accountId=ID', {
            headers: {
                'Accept': 'application/json'

this is the whole request and this is the response

errorMessages [ "OAuth 2.0 is not enabled for method: GET /rest/api/3/user/properties" ]

1 Like

I’m not sure why that might be. Your example is written correctly and that endpoint definitely works via requestJira from the frontend.

Are you getting that 403 error for all API requests via the bridge?


Hello, sorry for the late response. Yes, i think every request gives me this error. I also tried /rest/api/3/field. I also added all the required permissions inside of manifest.yml. Is there any chance i somehow miss configured anywhere else?

Yeah it’s strange. Maybe try uninstalling and re-installing your app to see if that resets some permissions?

Otherwise you might need to log a ticket so we can investigate further.

Do you have the proper scopes defined in your manifest?

1 Like

Close call, it was read:jira-work

The issue was not adding read:jira-work to the permissions. If someone else has this and it was not caused by read:jira-work, do the same request in the server side because the server then tells you more accurate about which permission is missing.

1 Like