# Need help understanding an error when updating emergency service location

**URL:** <https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655>\
**Category:** API and Webhooks\
**Tags:** phone, api\
**Created:** [September 25, 2025, 2:32pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655 "2025-09-25T14:32:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptb014](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ptb014/32/49905_2.png) [@ptb014](https://devforum.zoom.us/u/ptb014)\
**Post date:** [September 25, 2025, 2:32pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/1 "2025-09-25T14:32:02Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
_phone/locations_

**Description**  
I am attempting to troubleshoot an error that happens when attempting to update an existing emergency service location via the zoom API. I am calling

PATCH [https://api.zoom.us/v2/phone/locations/:locationId](https://api.zoom.us/v2/phone/locations/:locationId)

with body json

{  
“bssid”:“D0:D3:E0:B0:23:C3”,“emergency\_address\_id”:“6Z27P\_V\_SI2tTe3G-ywlvw”,“name”:“7th St Café”,“private\_ip”:“111.29.0.0/32”,“public\_ip”:“111.82.0.0/32”,“minimum\_match\_criteria”:false,“network\_switches”:[{“mac\_address”:“q4:bd:9e:ff:21:00”,“port”:null,“port\_prefix”:null,“port\_range\_from”:null,“port\_range\_to”:null}],“sip\_group\_id”:null,“elin\_phone\_number\_id”:null  
}

The only field that is actually changing is the emergency\_address\_id. If I run the request in postman I get an error saying that “Only the company address can be used for the company location.“ . I have verified that the value being passed for emergency\_address\_id points to an existing emergency address. All the required fields appear to be present in the body. What am I doing wrong?

**Error?**  
{  
“code”: 400,  
“message”: “Only the company address can be used for the company location.”  
}

---

<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:** [September 25, 2025, 4:31pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/2 "2025-09-25T16:31:15Z")

</div>

Hi @ptb014 , when you call [get emergency service location details](https://developers.zoom.us/docs/api/phone/#tag/emergency-service-locations/get/phone/locations/%7BlocationId%7D) can you verify you get the same exact details (aside from the new `emergency_address_id`) that you’re passing through to the update request?

Is the new `emergency_address_id` compatible with this update change? How is it generated? If you’re taking it from another location id, make sure you’re grabbing this value:

 ![Screenshot 2025-09-25 at 12.23.31 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/b/5bf2b9349340c042cc273d79c36651de48071351.png)

---

<div class="post-metadata">

**Author:** ![ptb014](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ptb014/32/49905_2.png) [@ptb014](https://devforum.zoom.us/u/ptb014)\
**Post date:** [September 25, 2025, 5:35pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/4 "2025-09-25T17:35:32Z")

</div>

Looking at the data again, the bssid is also being updated. All of the other fields remain the same. However, even if I remove the bssid field from the incoming data, I still get the same error.

---

<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:** [September 25, 2025, 7:41pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/5 "2025-09-25T19:41:43Z")

</div>

> [@gianni.zoom](#):
>
> Is the new `emergency_address_id` compatible with this update change? How is it generated? If you’re taking it from another location id, make sure you’re grabbing this value:
> 
> ![Screenshot 2025-09-25 at 12.23.31 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/b/5bf2b9349340c042cc273d79c36651de48071351.png)

Hi @ptb014 please answer these questions.

---

<div class="post-metadata">

**Author:** ![ptb014](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ptb014/32/49905_2.png) [@ptb014](https://devforum.zoom.us/u/ptb014)\
**Post date:** [September 26, 2025, 2:25pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/6 "2025-09-26T14:25:03Z")

</div>

I’m not quite sure what you mean by “compatible with this update change“. I have confirmed that the new emergency\_address\_id value corresponds with an id value for an existing emergency\_address.

 ![emergency-address](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/3/13b72272b5e79bc22c77633656aecb64f5116059.png)

 ![location update](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/3/f397881961128ac45071f6e6cdfa0bb95e196b52.png)

---

<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:** [September 29, 2025, 5:21pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/7 "2025-09-29T17:21:57Z")

</div>

Thank you for confirming how you’re sourcing the `emergency_address_id` value @ptb014 . Can you please [open a support ticket](https://support.zoom.com/hc/en/new-request?id=new_request&sys_id=7a69170f87cee15089a37408dabb3591&product=developer) with the following:

- client id
- zm-tracking-id from response header
- [link](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/6) to this post
- description of the issue

Support will be able to look at your account to view account-specific details to better determine the address information resulting in the error with the API. If you run into the issues with getting help with support, please let me know. Please also let us know the resolution on this thread to help the broader developer community 🙂

---

<div class="post-metadata">

**Author:** ![ptb014](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ptb014/32/49905_2.png) [@ptb014](https://devforum.zoom.us/u/ptb014)\
**Post date:** [September 30, 2025, 3:43pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/8 "2025-09-30T15:43:42Z")

</div>

With the help of tech support, I understand what is happening now. Note in the images above, the emergency\_address we are trying to associate with the location contains an ‘owner’ object. Because it contains this data, Zoom treats the emergency address as an individual rather than a ‘company’ address.

I’m not sure where (if anywhere) this requirement is documented. I really wish there was documentation somewhere that listed all the validation rules for each API endpoint and their associated error messages.

---

<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:** [September 30, 2025, 4:16pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/9 "2025-09-30T16:16:00Z")

</div>

Ah okay thanks @ptb014 !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 1, 2025, 4:16pm UTC](https://devforum.zoom.us/t/need-help-understanding-an-error-when-updating-emergency-service-location/137655/10 "2025-10-01T16:16:01Z")

</div>

Closed on October 1, 2025, 4:16pm UTC

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