# Error when setting emergency address to default

**URL:** <https://devforum.zoom.us/t/error-when-setting-emergency-address-to-default/77584>\
**Category:** Phone\
**Created:** [October 19, 2022, 12:07am UTC](https://devforum.zoom.us/t/error-when-setting-emergency-address-to-default/77584 "2022-10-19T00:07:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wshane](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wshane/32/42351_2.png) [@wshane](https://devforum.zoom.us/u/wshane)\
**Post date:** [October 19, 2022, 12:07am UTC](https://devforum.zoom.us/t/error-when-setting-emergency-address-to-default/77584/1 "2022-10-19T00:07:52Z")

</div>

**Description**  
I am using /phone/emergency\_addresses to try and update our user’s personal emergency addresses and set them to default. However, when we try to set the field “is\_default”:true we are getting the following error: {“code”:400,“message”:“User address cannot be default.”}.  
If we set set this to false, we are able to create and update records successfully. After creating the records we are able to manually set the created address to default. Is this the expected behavior, or is there some other way of setting these addresses to default?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 19, 2022, 1:08am UTC](https://devforum.zoom.us/t/error-when-setting-emergency-address-to-default/77584/2 "2022-10-19T01:08:18Z")

</div>

Hi @wshane ,

When we see this error, it can mean the formatted address is incorrect because [the validation failed](https://marketplace.zoom.us/docs/api-reference/phone/methods/#operation/addEmergencyAddress).

Was the address provided an exact match?

---

<div class="post-metadata">

**Author:** ![wshane](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wshane/32/42351_2.png) [@wshane](https://devforum.zoom.us/u/wshane)\
**Post date:** [October 19, 2022, 6:14pm UTC](https://devforum.zoom.us/t/error-when-setting-emergency-address-to-default/77584/3 "2022-10-19T18:14:43Z")

</div>

Hi Gianni,

I’m a little confused by that, because we are able to create an address and we get back a status code of “1: Verification not required.” Is this a case where we need to create the address and _then_ update it as default?

Thank you for your help!
