Unable to Cloud Rest APIs

I built an oauth 2.0 integraion with forge aka Log in with Atlassian account
I’ve configured all required scopes

But after providing all the required scopes mentioned at https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records/#api-rest-api-3-auditing-record-get I’m unable to run this api, it is giving me 401

Scope I’ve used to generate token : manage:jira-configuration read:audit-log:jira read:user:jira
url : https://my_company.atlassian.net/rest/api/3/auditing/record

Response :

There was a problem accessing this content

Encountered a 401 - Unauthorized error while loading this page.

The Key thing to note : the apis are working with the api token but not with the bearer token

Please share some solution