# Error 4700 when updating user settings

**URL:** <https://devforum.zoom.us/t/error-4700-when-updating-user-settings/8406>\
**Category:** API and Webhooks\
**Created:** [March 4, 2020, 12:16pm UTC](https://devforum.zoom.us/t/error-4700-when-updating-user-settings/8406 "2020-03-04T12:16:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimig](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jimig/32/1815_2.png) [@jimig](https://devforum.zoom.us/u/jimig)\
**Post date:** [March 4, 2020, 12:16pm UTC](https://devforum.zoom.us/t/error-4700-when-updating-user-settings/8406/1 "2020-03-04T12:16:25Z")

</div>

**Description**  
I’m trying to update profile settings. The token has scope user:write which should be sufficient, since the user is attempting to update their own settings. Why do I need those additional scopes?

**Error**  
{“code”:4700,“message”:“Invalid access token, does not contain scopes: [user:write:admin, zms:user:write]”}

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

**Which Endpoint/s?**  
PATCH users/\_jneLUhhQTmF09bdksDaiQ/settings

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 4, 2020, 5:08pm UTC](https://devforum.zoom.us/t/error-4700-when-updating-user-settings/8406/2 "2020-03-04T17:08:09Z")

</div>

Hey @jimig,

Can you try passing in the word `me` instead of the userID? That will fix the issue.

`PATCH users/me/settings`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![jimig](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jimig/32/1815_2.png) [@jimig](https://devforum.zoom.us/u/jimig)\
**Post date:** [March 9, 2020, 11:00am UTC](https://devforum.zoom.us/t/error-4700-when-updating-user-settings/8406/3 "2020-03-09T11:00:41Z")

</div>

Thanks - this works as expected. Probably worth fixing the bug or updating the docs to reflect this?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 9, 2020, 4:02pm UTC](https://devforum.zoom.us/t/error-4700-when-updating-user-settings/8406/4 "2020-03-09T16:02:17Z")

</div>

Hey @jimig,

We will update our docs to mention to use `me` for user level apps.

CC @shrijana.g

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:29pm UTC](https://devforum.zoom.us/t/error-4700-when-updating-user-settings/8406/5 "2020-08-21T19:29:18Z")

</div>

Closed on August 21, 2020, 7:29pm UTC


