# Update a queue ERROR:Distribution duration value is too large

**URL:** <https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790>\
**Category:** API and Webhooks\
**Created:** [June 7, 2023, 8:46pm UTC](https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790 "2023-06-07T20:46:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![omari.isaac](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@omari.isaac](https://devforum.zoom.us/u/omari.isaac)\
**Post date:** [June 7, 2023, 8:46pm UTC](https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790/1 "2023-06-07T20:46:41Z")

</div>

When attempting to update a queue using /contact\_center/queues/{queueId} , this error is being returned: Distribution duration value is too large. I don’t understand why this is the case because the distribution\_duration\_in\_seconds value is not being changed. Can anyone advise me on what I am doing incorrectly?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [June 8, 2023, 6:47pm UTC](https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790/2 "2023-06-08T18:47:34Z")

</div>

Hi @omari.isaac  
Thanks for reaching out to us, I am happy to help here!  
Have you been able to trouble shoot this on your end? If not, could you please share the request body that you are passing when getting this error and also the error code that you are getting after making this call.

It would also be helpful if you can make a get request to the queue that you are trying to update so I can take a look at it please.  
Thanks  
Elisa

---

<div class="post-metadata">

**Author:** ![omari.isaac](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@omari.isaac](https://devforum.zoom.us/u/omari.isaac)\
**Post date:** [June 8, 2023, 7:34pm UTC](https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790/3 "2023-06-08T19:34:25Z")

</div>

> [@elisa.zoom](#):
>
> ould also be helpful if you can make a get request to the queue that you are trying to update so I can take a look at it please.  
> Thanks  
> Elisa

resource:  
[https://api.zoom.us/v2/contact\_center/queues/ZWQDB62BAD5C980C4DB90DF5A3B86C4DE13](https://api.zoom.us/v2/contact_center/queues/ZWQDB62BAD5C980C4DB90DF5A3B86C4DE13)  
body:  
{“max\_wait\_time”:600,“wrap\_up\_time”:30,“max\_engagement\_in\_queue”:60,“service\_level\_threshold\_in\_seconds”:120}  
response: {“code”:140008,“message”:“Distribution duration value is too large.”}

---

<div class="post-metadata">

**Author:** ![omari.isaac](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@omari.isaac](https://devforum.zoom.us/u/omari.isaac)\
**Post date:** [June 15, 2023, 5:09pm UTC](https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790/4 "2023-06-15T17:09:25Z")

</div>

@elisa.zoom Are there any updates on this issue?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [June 16, 2023, 6:24pm UTC](https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790/5 "2023-06-16T18:24:27Z")

</div>

Hi @omari.isaac  
sorry for the late reply! I have sent you a private message to follow up.  
I need more information to investigate this issue

---

<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:** [June 19, 2024, 10:00am UTC](https://devforum.zoom.us/t/update-a-queue-error-distribution-duration-value-is-too-large/89790/6 "2024-06-19T10:00:40Z")

</div>

Closed on June 19, 2024, 10:00am UTC

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