Error fetching recordings: {"code":4711,"message":"Invalid access token, does not contain scopes:[cloud_recording:read:list_account_recordings:master]."}

Description
I am trying to retrieve a list of cloud recordings in my account. I am the master user and have added all the necessary roles but I am still getting an error when calling the endpoint (https://api.zoom.us/v2/accounts/${accountId}/recordings)

Error?
Below is the response I receive when requesting an auth token and as you see it returns the correct scopes

Access token response: {
access_token: ‘eyJzdiI6IjAwMDAwMSIsImFsZyI6IkhTNTEyIiwidiI6IjIuMCIsImtpZCI6ImYyOTRiYzEyLTdlNTQtNDQ4MS05NzgzLWY2ZDgwNGQ0M2Q5NSJ9.eyJhdWQiOiJodHRwczovL29hdXRoLnpvb20udXMiLCJ1aWQiOiJjcFQtc3dQMFNOV2FUUnJ3RkVqMjN3IiwidmVyIjo5LCJhdWlkIjoiN2I3ZGY2YzAwZTNkZWFlZGY1ZjM2MDZkMmZjZTQ4ZDAiLCJuYmYiOjE3MjI1NTIzMzcsImNvZGUiOiJWUTBJTVNDMlQ3eUtfaG9ONWJtQ1l3b1ducWZNeXhQcVkiLCJpc3MiOiJ6bTpjaWQ6WlFtTmg4SFpRc3lvcW5qUFhEa2FiUSIsImdubyI6MCwiZXhwIjoxNzIyNTU1OTM3LCJ0eXBlIjozLCJpYXQiOjE3MjI1NTIzMzcsImFpZCI6Im1MRTBDNXp4VGFXMkFEby02WXZ4eFEifQ.VoU_xF1-ksIUXwcIU2dmKcz0bpx_kaXnpzc2yumFJD-ntb2142Ku4kXd6fCLCYb057tCHDwwfL5ENRyqbRF6oQ’,
token_type: ‘bearer’,
expires_in: 3600,
scope: ‘account:read:list_sub_accounts:master account:read:sub_account:master webinar:read:webinar:admin webinar:write:invite_links:admin contact_group:read:list_groups:master contact_group:read:list_members:master cloud_recording:read:list_account_recordings:master cloud_recording:read:list_user_recordings:master cloud_recording:read:list_recording_files:master cloud_recording:read:recording:master’,
api_url: ‘https://api.zoom.us
}

But I get this error message saying it does not contain the scopes needed

Error Message
Error fetching recordings: {“code”:4711,“message”:“Invalid access token, does not contain scopes:[cloud_recording:read:list_account_recordings:master].”}

1 Like

I’m getting this exact same error.

1 Like

I’m also getting same problems: with access_token response I see cloud_recording:read:list_account_recordings:master is enabled, but when calling /v2/accounts/{{account_id}}/recordings I always get message “Invalid access token, does not contain scopes:[cloud_recording:read:list_account_recordings:master].”.

If I replace account ID with “me”, I will see my recordings, but I need to see list of all recordings, as I can see it in my Zoom profile page at ADMIN / Account Management / Recording and Transcript Management.

I think, this is Zoom bug.

I had same question.
Did this bug have been fixed?

The main thing to consider is the “master” scope roles here. If you just have a regular business account you should not use these scopes at all. Use the “admin” scopes.

The way this works with the API is that you need to loop through the users first, then get their meetings, then get the meeting occurrences (past meetings) to get the UUID for that occurrence. Then you can get the recording with the UUID.

So, make sure you’re using these correct endpoints as well (NOT the master ones - but the Zoom Workspace ones).

It’s very confusing at first. And even after you use it for a while, it still just seems unnecessary - but that’s what has to be done.