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

i am facing issue when ever am using get user service


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


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:

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

Let me know if this helps!

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

G.Ajay kumar

Hey @schoolknot,

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


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