# Duplicate key, attempted merging values

**URL:** <https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750>\
**Category:** API and Webhooks\
**Tags:** webinar\
**Created:** [May 6, 2021, 1:12pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750 "2021-05-06T13:12:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael4824](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael4824/32/19083_2.png) [@Michael4824](https://devforum.zoom.us/u/Michael4824)\
**Post date:** [May 6, 2021, 1:12pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/1 "2021-05-06T13:12:18Z")

</div>

**Description**  
When hitting webinar/participants API, I’m getting the following returned (email redacted):  
“{”“code”":-1,"“message”":"“Duplicate key EMAIL (attempted merging values [REDACTED] and [REDACTED])”"}"  
Error only occurs when “include\_fields=registrant\_id” is included, and participant records 31-44 (or page\_size \>= 44.)

**Error**  
“{”“code”":-1,"“message”":"“Duplicate key EMAIL (attempted merging values [REDACTED] and [REDACTED])”"}"

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
/metrics/webinars/{webinarId}/participants

> **[Get webinar participants - Dashboards - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardwebinarparticipants)**
>
> Retrieve details on participants from live or past webinars.
> Scopes: dashboard\_webinars:read:admin
> Rate Limit Label: Heavy
> Prerequisites:
> 
> Business, Ed...

**How To Reproduce (If applicable)**  
[https://api.zoom.us/v2/metrics/webinars/[REDACTED]/participants?type=past&include\_fields=registrant\_id&page\_size=300](https://api.zoom.us/v2/metrics/webinars/%5BREDACTED%5D/participants?type=past&include_fields=registrant_id&page_size=300)  
RestClient client = new RestClient($"{url}{(url.Contains("?") ? “&” : “?”)}page\_size={pageSize}");  
RestRequest request = new RestRequest(Method.GET);  
request.AddHeader(“content-type”, “application/json”);  
request.AddHeader(“authorization”, $“Bearer {JWT}”);  
IRestResponse response = client.Execute(request);  
Console.WriteLine(response.Content);

Thanks!

---

<div class="post-metadata">

**Author:** ![Michael4824](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael4824/32/19083_2.png) [@Michael4824](https://devforum.zoom.us/u/Michael4824)\
**Post date:** [May 6, 2021, 2:45pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/2 "2021-05-06T14:45:27Z")

</div>

I modified the above post, but want to add that the error is only thrown with my meeting ID when results 31-44 are included (page\_size=300 also works) and “include\_field=registrant\_id” is included.

---

<div class="post-metadata">

**Author:** ![Michael4824](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael4824/32/19083_2.png) [@Michael4824](https://devforum.zoom.us/u/Michael4824)\
**Post date:** [May 7, 2021, 12:39pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/3 "2021-05-07T12:39:08Z")

</div>

Found another webinar throwing the same error. ID [REDACTED]  
Duplicate key EMAIL (attempted merging values [REDACTED] and [REDACTED])

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 7, 2021, 11:47pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/4 "2021-05-07T23:47:51Z")

</div>

Hey @Michael4824,

Thank you for reaching out to the Zoom Developer Forum. I’ve reached out to our engineering team to see if they are able to provide a fix for this issue you’re seeing.

I’ll update you here when I have more information. (ZOOM-271758)

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 11, 2021, 12:47am UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/5 "2021-05-11T00:47:49Z")

</div>

Hey @Michael4824,

Thank you for your patience. Our engineering team got back to me and let me know this is related to a known bug that will be fixed later this month.

In the meantime, please see our [changelog](https://marketplace.zoom.us/docs/changelog) in order to stay up-to-date with the latest features and fixes.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![Michael4824](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael4824/32/19083_2.png) [@Michael4824](https://devforum.zoom.us/u/Michael4824)\
**Post date:** [May 25, 2021, 1:09pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/6 "2021-05-25T13:09:31Z")

</div>

Hi @MaxM

I saw that there was an API update [posted yesterday](https://marketplace.zoom.us/docs/changelog#publications/api-updates-may-23-2021), but I didn’t see this bug under the “bug fixes” section. Just checked my webinar and it’s still occurring. Do you have any update as to when this might be fixed?

-Michael

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 26, 2021, 9:48pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/7 "2021-05-26T21:48:24Z")

</div>

Hey @Michael4824,

Thank you for following up. I wasn’t able to confirm if this was fixed either so I reached out to our engineering team. I’ll let you know what I hear.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 28, 2021, 12:36am UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/8 "2021-05-28T00:36:19Z")

</div>

Hey @Michael4824,

Our engineering team informed me the issue should be resolved. Please send an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread. In that email, please include the endpoint and body for the failing request.

We’ll use that to look into this further.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![Michael4824](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael4824/32/19083_2.png) [@Michael4824](https://devforum.zoom.us/u/Michael4824)\
**Post date:** [May 28, 2021, 12:26pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/9 "2021-05-28T12:26:27Z")

</div>

Thanks @MaxM, I sent an email this morning.

-Michael

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 28, 2021, 3:26pm UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/10 "2021-05-28T15:26:08Z")

</div>

Thanks, @Michael4824!

We will be in touch with you there.

Best,  
Will

---

<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 28, 2021, 1:26am UTC](https://devforum.zoom.us/t/duplicate-key-attempted-merging-values/49750/11 "2021-06-28T01:26:36Z")

</div>

Closed on June 28, 2021, 1:26am UTC

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