I am facing issue while getting user info from from get userinfo api

hi
i am facing issue when ever am using get user service

https://api.zoom.us/v2/users/{emailid}

my app user-managed app i got this error
{
“code”: 4700,
“message”: “Invalid access token, does not contain scopes: [user:write:admin, user:read:admin, user:read, user:write].”
}
where can i pass scopes please give me solution

Thanks

Hi @schoolknot,

Thanks for reaching out about this. Based on the error message, it looks like the app that you’re using to authenticate your requests is missing the necessary scope. Can I kindly ask that you navigate to the Scopes section of your OAuth app and confirm that you have selected the following scope:
user:read

Once you add this, make sure to regenerate your install URL and then retry your request.

Let me know if this helps!
Will


after adding scope and reinstall the app then i checked i got same error
Please check above screen shot please let me know if i missed anything

Thanks
G.Ajay kumar

Hey @schoolknot,

I just DM’d you for some more account details so that I can take a closer look.

Thanks,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.