OAuth token not working for reportMeetingParticipants

I am using Server to Server OAuth to generate a token. I am then using this token to retrieve [reportMeetingParticipants](https://developers.zoom.us/docs/api-reference/zoom-api/ma/#operation/reportMeetingParticipants). But it gives following error:

{“code”:124,“message”:“Invalid access token.”}

I have added all the requires scopes also: report:read:admin and report:master. I am trying to access the meeting participants report of subaccount which is also a pro account.