Missing Scope: archiving:read:list_archived_files

API Endpoint(s) and/or Zoom API Event(s)

List archived files

GET /archive_files

Description
I am trying to get a list of files that have been attached to in-meeting chats. I have been able to use the GET /past_meetings/{meetingUUID}/archive_files endpoint to receive the chat text, but I want to also get any files uploaded to the chat.

Error
When I send the GET request, for a meeting uuid that has files uploaded to the chat, I get this response: {"code":4711,"message":"Invalid access token, does not contain scopes:[archiving:read:list_archived_files:admin]."}. If I look in the scopes for the app, I don’t see this scope with “:admin” at the end.

I do have archiving:read:list_archived_files selected in the app’s settings.

And the confirmation screen to give approval to the app also lists permission to get meeting and webinar files.

But when I get the access token for the app, the archiving:read:list_archived_files scope is not included with the other two scopes.
brave_ZEj8Ozwnsb

How To Reproduce
I am using Python. Here is the relevant code.

    headers = {
        'authorization': f'Bearer {access_token}'
    }
    files_url = "https://api.zoom.us/v2/archive_files"
    response = requests.get(files_url, headers=headers)
    print(response.json())

This returns {"code":4711,"message":"Invalid access token, does not contain scopes:[archiving:read:list_archived_files:admin]."}