# Management API V2 for .NET UpdateAsync fails with conflict errors

**URL:** <https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544>\
**Category:** Get Help\
**Tags:** managment-api-v2, update-profile, profile-update, email\_verified, .net\
**Created:** [October 21, 2017, 11:53pm UTC](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544 "2017-10-21T23:53:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Gochin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeff_gochin/32/5160_2.png) [@Jeff\_Gochin](https://community.auth0.com/u/Jeff_Gochin)\
**Post date:** [October 21, 2017, 11:53pm UTC](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544/1 "2017-10-21T23:53:33Z")

</div>

I have recently been getting errors like the following, in various combinations.

> Cannot update email\_verified and phone\_number simultaneously

It started when I tried updating the `phone_number` field. I have tried to solve the problem by calling `GetAsync` to get the full profile, then setting all of the possible properties of the `UserUpdateRequest` object. My thinking was the API was sending null properties and that ensuring all of the properties had their proper current values would help. But, it has not.

Has anyone run in to this problem, and more importantly found a solution?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 1, 2017, 12:00am UTC](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544/2 "2017-12-01T00:00:13Z")

</div>

I can technically reproduce that error by performing a PATCH request to `/api/v2/users/{user_id}`for a database connection user identifier and with the following payload:

{  
“email\_verified”: false,  
“phone\_number”: “+xxxxxxxxxx”  
}

However, as the error message mentions it’s not possible to update those two fields together. In addition, to my knowledge the `phone_number` is for SMS passwordless end-users which to my knowledge would not have an email address associated. In conclusion, there’s nothing suspicious about the error message itself as it is expected if you send those two fields for update so you should clarify what exactly are your intents and what type of end-users are you updating (database connection, passwordless email, passwordless sms).

---

<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:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544/3 "2018-03-02T05:57:05Z")

</div>


