Hi
I want to create Server-to-Server application and then use GraphQL to list cloud / meeting recordings. I managed to get access token but then doing the GraphQL query I get
"Invalid access token, userMeetingRecordings field does not contain required scopes."
When I get the access token I get list of scopes and the userMeetingRecordings is really not there. But this scope “cloud_recording:read:list_user_recordings:admin” was added.
I have created
Account-level app
Server-To-Server OAuth
I am the owner of the account of Zoom Workspace Pro account.
Could someone please help me to make GraphQL query to work under my account?
Hi @Radek
Thanks for sharing that link with me!
I was able to troubleshoot this on my end and replicate the issue that you are seeing.
So you are using a General App and adding all recording scopes which I tried replicating on my end and got the same error.
So, in our Docs it is mentioned that to access GraphQL you have to use a Server-to-Server Oauth app:
By generating an access token with a S2S app, I did not get that error
Could you please try again with a Server to Server Oauth app, an add all recording scopes?
If this does not work for you, I will send you a private message with more details.
Cheers,
Elisa
Hi @Manuel2
Make sure you create a Server to Server Oauth app and add the right scopes. Then use that app to generate an access token.
You should be able to use that access token to access graphQL
I have the same issue with Radek and Manuel. I followed the get start instruction in your link.
However, I got the same error when query, “Invalid access token, meetings field does not contain required scopes”
I also tried other query list in postman Zoom examples. All same error.
I already gave all permission under meetings and dashboard in the Server 2 Server App.
Do you have any idea?
@Radek May I ask did you solve this problem finally? Thank you
Yes @tianhang.qiang@Radek I am still looking into this.
If you try and create a new Server to Server oauth app under the Legacy app category, you should not see this error
Hi @elisa.zoom
I have a similar kind of error. I have generated Server to Server oauth app . Generated an access token with all the scopes. I am generating the access token using POSTMAN and i can see that the scope that I want is part of the access token.
However when i try to access the webinar details using end point it says code": 4711,
“message”: “Invalid access token, does not contain scopes:[dashboard:read:list_webinars:master].” However I have this scope as part of the access token.
I wanted to get leave reason for the webinar participants which only comes as part of the above API.
Also the meeting ID is a past dated ID and has about 4 participants
Hi @shilpesh.pillai
Can you please make sure to add the query param type=past to your request …
Its default value is live and you are trying to query past webinars.