# List channel members Duplicate Key 400 error

**URL:** <https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603>\
**Category:** Chat\
**Tags:** api\
**Created:** [April 13, 2023, 5:19am UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603 "2023-04-13T05:19:38Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![k-root](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@k-root](https://devforum.zoom.us/u/k-root)\
**Post date:** [April 13, 2023, 5:19am UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/1 "2023-04-13T05:19:38Z")

</div>

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

- [List channel members](https://developers.zoom.us/docs/api/rest/reference/chat/methods/#operation/listChannelMembers)
  - GET /chat/users/{userId}/channels/{channelId}/members

**Description**  
Recently we experienced a high volume of HTTP 400 errors while listing channel members.  
The errors appear to be happening in specific channels.

**Error?**

```auto
{
    "code": -1,
    "message": "Duplicate key {REDACT} (attempted merging values {id: {E}{REDACT}{/E}..."
}

```

**How To Reproduce**  
`curl -H "Authorization: Bearer $token" https://api.zoom.us/v2/chat/users/{userId}/channels/{channelId}/members?page_size=100`  
I can provide you with the specific endpoints that include `userId` and `channelId` , where we are encountering errors via DM if it’s helpful.

Thank you.

---

<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:** [April 17, 2023, 8:21pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/2 "2023-04-17T20:21:58Z")

</div>

Hi @k-root  
Sorry for the late reply here!  
Are you still experiencing this issue?

---

<div class="post-metadata">

**Author:** ![k-root](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@k-root](https://devforum.zoom.us/u/k-root)\
**Post date:** [April 20, 2023, 2:39am UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/3 "2023-04-20T02:39:02Z")

</div>

Yes @elisa.zoom, we’re still experiencing 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:** [April 21, 2023, 12:53pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/4 "2023-04-21T12:53:32Z")

</div>

Thanks for confirming this @k-root  
I will send you a DM so you can share more details with me

---

<div class="post-metadata">

**Author:** ![eunicedanladi13](https://avatars.discourse-cdn.com/v4/letter/e/d9b06d/32.png) [@eunicedanladi13](https://devforum.zoom.us/u/eunicedanladi13)\
**Post date:** [April 21, 2023, 1:30pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/5 "2023-04-21T13:30:20Z")

</div>

You can ask a GPT bot about this issue 🤣

---

<div class="post-metadata">

**Author:** ![daniel.martinez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/daniel.martinez/32/47959_2.png) [@daniel.martinez](https://devforum.zoom.us/u/daniel.martinez)\
**Post date:** [April 26, 2023, 11:35am UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/6 "2023-04-26T11:35:41Z")

</div>

Hi! We are experiencing the same case since, at least, 2023-04-19. Any known remediation? Thanks in advance!

---

<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:** [April 26, 2023, 3:08pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/7 "2023-04-26T15:08:39Z")

</div>

HI @daniel.martinez  
I am actively looking into this.  
I will send you a DM to follow up

---

<div class="post-metadata">

**Author:** ![william2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/william2/32/48773_2.png) [@william2](https://devforum.zoom.us/u/william2)\
**Post date:** [May 23, 2023, 12:51pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/8 "2023-05-23T12:51:11Z")

</div>

Hello,  
I am following up on this request on behalf of @daniel.martinez and wanted to see if there is any update?

---

<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:** [May 23, 2023, 2:15pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/9 "2023-05-23T14:15:03Z")

</div>

Hey @william2  
Sorry, I did not update this thread… this issues has been fixed 🙂

---

<div class="post-metadata">

**Author:** ![william2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/william2/32/48773_2.png) [@william2](https://devforum.zoom.us/u/william2)\
**Post date:** [May 23, 2023, 2:31pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/10 "2023-05-23T14:31:18Z")

</div>

Hi @elisa.zoom ,  
Thank you for sharing an update.  
Unfortunately, we are still seeing the ‘Duplicate key’ error.

Please let me know if you require any additional information.

---

<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:** [May 23, 2023, 8:35pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/11 "2023-05-23T20:35:03Z")

</div>

Hey @william2  
I will send you a private message to follow up on this issue

---

<div class="post-metadata">

**Author:** ![k-root](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@k-root](https://devforum.zoom.us/u/k-root)\
**Post date:** [May 30, 2023, 3:49am UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/12 "2023-05-30T03:49:06Z")

</div>

Hi @elisa.zoom

Thanks for sharing the update.  
We are still seeing the ‘Duplicate key’ error, too.

I have posted the issue in the private thread. Unfortunately, haven’t received your reply. Need your help.

---

<div class="post-metadata">

**Author:** ![jackwills6262](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackwills6262/32/48957_2.png) [@jackwills6262](https://devforum.zoom.us/u/jackwills6262)\
**Post date:** [May 30, 2023, 12:01pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/13 "2023-05-30T12:01:04Z")

</div>

It seems like there are issues with listing channel members using the API endpoints provided. The HTTP 400 errors and the specific error message indicate a duplicate key problem. To reproduce the issue, the curl command with the appropriate authorization token is being used. If needed, I can share the specific endpoints, including the [OpenAI](https://opchatgpt.com/gpt-login/) userId and channelId, where the errors are occurring via direct message. Thank you for your attention to this matter.

---

<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:** [May 30, 2023, 5:45pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/14 "2023-05-30T17:45:03Z")

</div>

hi @k-root I am looking into this

---

<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:** [July 10, 2023, 1:27pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/15 "2023-07-10T13:27:10Z")

</div>

Hi @all  
This issue has been resolved on our end.  
We identified a bug and it has been fixed.  
Happy coding 🙂

---

<div class="post-metadata">

**Author:** ![k-root](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@k-root](https://devforum.zoom.us/u/k-root)\
**Post date:** [July 26, 2023, 8:45am UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/16 "2023-07-26T08:45:11Z")

</div>

Hi @elisa.zoom  
I don’t think this issue is resolved. I still see this error a hundred of times in the past 3 days in our system log. Could you please check this issue again?

---

<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:** [July 26, 2023, 1:53pm UTC](https://devforum.zoom.us/t/list-channel-members-duplicate-key-400-error/86603/17 "2023-07-26T13:53:34Z")

</div>

I will send you a private message @k-root  
so you can share some logs with me
