Invalid access token, does not contain scopes: [user:write:admin, zms:user:write]

Description
i am getting error, when i am creating the user POST Method through the code passing access token :-

Error
Invalid access token, does not contain scopes: [user:write:admin, zms:user:write]

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Oauth

Which Endpoint/s?
https://api.zoom.us/v2/users

I’ve seen this when calling user based endpoint with the userid and not ME in the url for oauth based applications.

Hey @sumitonemail2,

Does your app include the user:write:admin scope in your marketplace settings?

Thanks,
Tommy

Hey @jcoutu,

For user level oauth app correct, but you the endpoint @sumitonemail2 is referring to is an account level with no path params. :slight_smile:

Thanks,
Tommy

Hi @tommy!

I’m having the same issue, I have an account level app with these scopes:
“dashboard_meetings:read:admin meeting:read:admin meeting:write:admin user:read:admin user:write:admin”

But when trying to create a new user through the https://api.zoom.us/v2/users endpoint I get this message:
{“code”:4700,“message”:“Invalid access token, does not contain scopes: [user:write:admin, user:write, zms:user:write].”}

Can you help me figure out what I need?

Thank you!

Hey @nicolaskneler,

Can you try reinstalling your OAuth app?

Let me know if that fixes the issue.

Thanks,
Tommy