# Grant type ‘update:users’ not allowed for the client

**URL:** <https://community.auth0.com/t/grant-type-update-users-not-allowed-for-the-client/103314>\
**Category:** Get Help\
**Tags:** user-profile, user-management\
**Created:** [March 25, 2023, 8:44am UTC](https://community.auth0.com/t/grant-type-update-users-not-allowed-for-the-client/103314 "2023-03-25T08:44:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkgowtham1234](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kkgowtham1234/32/45765_2.png) [@kkgowtham1234](https://community.auth0.com/u/kkgowtham1234)\
**Post date:** [March 25, 2023, 8:44am UTC](https://community.auth0.com/t/grant-type-update-users-not-allowed-for-the-client/103314/1 "2023-03-25T08:44:12Z")

</div>

I am trying to get OAuth Token for the application , which is required for updating user profile.

I am hitting this endpoint  
domain/oauth/token

Curl

curl --location --request POST ‘domain/oauth/token’ \

–header ‘content-type: application/x-www-form-urlencoded’ \

–data-urlencode ‘grant\_type=update:users’ \

–data-urlencode ‘client\_id=’ \

–data-urlencode ‘client\_secret=’ \

–data-urlencode ‘audience=domain/api/v2/’

I always get the grant type not allowed for the client.

{  
“error”: “unauthorized\_client”,  
“error\_description”: “Grant type ‘update:users’ not allowed for the client.”,  
“error\_uri”: “[Application Grant Types](https://auth0.com/docs/clients/client-grant-types)”  
}

In Dashboard Settings I have enabled all the grant types for particular client.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/1/5/15a3adb680fae05e75357f80d02bd255a7887c0d.png)

Please help me to resolve this. Not sure what I am missing

---

<div class="post-metadata">

**Author:** ![kkgowtham1234](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kkgowtham1234/32/45765_2.png) [@kkgowtham1234](https://community.auth0.com/u/kkgowtham1234)\
**Post date:** [March 26, 2023, 6:54am UTC](https://community.auth0.com/t/grant-type-update-users-not-allowed-for-the-client/103314/3 "2023-03-26T06:54:49Z")

</div>

For me its working now.  
I was sending the data in form-URL-encoded.  
When I send the data in the request body it worked, instead of form-url-encoded.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 27, 2023, 7:04am UTC](https://community.auth0.com/t/grant-type-update-users-not-allowed-for-the-client/103314/4 "2023-03-27T07:04:49Z")

</div>

Perfect! Thanks for sharing with the rest of community!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 10, 2023, 7:05am UTC](https://community.auth0.com/t/grant-type-update-users-not-allowed-for-the-client/103314/5 "2023-04-10T07:05:28Z")

</div>

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