# { "code": -1, "message": "Duplicate key ""} when using /report/webinars/{webinarId}/participants with optional parameter 'include\_fields'

**URL:** <https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433>\
**Category:** API and Webhooks\
**Created:** [January 13, 2021, 9:33am UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433 "2021-01-13T09:33:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ox\_2021](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ox_2021/32/21399_2.png) [@ox\_2021](https://devforum.zoom.us/u/ox_2021)\
**Post date:** [January 13, 2021, 9:33am UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/1 "2021-01-13T09:33:37Z")

</div>

**Description**  
When using /v2/report/webinars/{webinarId}/participants with the **optional parameter ‘include\_fields’** (and the page\_size parameter) after several successful calls using the next\_page\_token suddenly I get an error. If I omit the ‘include\_fields’ parameter everything works as expected.

The value for ‘include\_fields’ is: registrant\_id

**Error**  
{

```
    "code": -1,

    "message": "Duplicate key **key**"

} 

```

(Can send key via DM if needed)

**Which Endpoint/s?**  
/v2/report/webinars/{webinarId}/participants

---

<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:** [January 14, 2021, 4:12pm UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/2 "2021-01-14T16:12:41Z")

</div>

Hey @ox_2021,

Thanks for reaching out about this—this sounds like it could be a bug. I will DM you for some additional details.

Thanks!  
Will

---

<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:** [January 14, 2021, 9:25pm UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/3 "2021-01-14T21:25:26Z")

</div>

Hi @ox_2021,

Thanks for DMing me the request details. This appears to be a bug, and our team is looking into it (ZOOM-236183). I will follow up with you here shortly!

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![ox\_2021](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ox_2021/32/21399_2.png) [@ox\_2021](https://devforum.zoom.us/u/ox_2021)\
**Post date:** [January 15, 2021, 7:07am UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/4 "2021-01-15T07:07:17Z")

</div>

Thanks for looking into this 🙂

---

<div class="post-metadata">

**Author:** ![reid1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/reid1/32/36767_2.png) [@reid1](https://devforum.zoom.us/u/reid1)\
**Post date:** [January 16, 2021, 7:58pm UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/5 "2021-01-16T19:58:11Z")

</div>

Same issue here - love to hear any updates.

---

<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:** [January 19, 2021, 4:54pm UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/6 "2021-01-19T16:54:52Z")

</div>

Hey @reid1,

Just DM’d you for some additional details when you have a chance. Thanks!

Best,  
Will

---

<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:** [January 21, 2021, 5:27pm UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/7 "2021-01-21T17:27:54Z")

</div>

Hi @ox_2021 @reid1,

Thank you for sharing additional details in DM.

It appears this error is occurring when there is a duplicate registrant entry for a given meeting/webinar. I’m working with our team to see if we can update our logic such that this doesn’t cause issues when paginating. I hope to have an update for you shortly. (ZOOM-236183)

Thanks,  
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:** [February 21, 2021, 3:27am UTC](https://devforum.zoom.us/t/code-1-message-duplicate-key-when-using-report-webinars-webinarid-participants-with-optional-parameter-include-fields/40433/8 "2021-02-21T03:27:57Z")

</div>

Closed on February 21, 2021, 3:27am UTC

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