Error 'Duplicate key' while listing channel members or user contacts

Description
Everytime I request a user list (channel members, user contacts) with a OAuth2 user-level app token, it gives me back a constant error :

{
“code”: -1,
“message”: “Duplicate key {id: mHSsRjwETUOMdq28vErFPwaccountId: null, firstName: **, lastName: null, displayName: , enableE2E: 0, disableChat: 0, disableGroupHD: 0, enableSilentMode: 0, featureOptions: 206158430208, featureOptions2: 36063981927923716, featureOptions3: 6629298651490025472, featureOptions4: 16777216, featureOptions5: 281475513581568, optionList: , email: null, picUrl: /p/mHSsRjwETUOMdq28vErFPw/b673ecd4-5dee-4913-af45-4c67ba83958d-52, title: null, company: null, officePhone: null, cellPhone: null, locale: fr-FR, jid: mhssrjwetuomdq28verfpw@xmpp.zoom.us, myRoomId: 8326247480, myVanityName: null, myDateFormat: null, timezoneid: Europe/Paris, ltiKey: null, ltiSecret: null, hostKey: null}”
}

I cant get rid off this error

Hi @fhpcs

Thank you for reporting this issue. Could you send me your Zoom Account Number along with the request body via message so that I can investigate this further?

Thank you,
Shrijana

PM sent with details
Thanks

Thanks Shrijana!

-Tommy

I have same message error but only with channel members API request.

Hey @stefano,

Can you please share your request url and response/error body so I can debug?

Thanks,
Tommy

Now problem is gone away and API call is working…

Thanks anyway

Glad it’s working @stefano, let us know if you need any help!

Unfortunately, I still have the same issue…

Here is the error:

{“code”:-1,“message”:“Duplicate key {id: CxTzNn0QSoaSzUb-zMZJrQaccountId: BJeNeIGNRwCPRFQ-4v_8lA, firstName: null, lastName: null, displayName: null, enableE2E: 0, disableChat: 0, disableGroupHD: 0, enableSilentMode: 0, featureOptions: 0, featureOptions2: 35184908959748, featureOptions3: 4611686018428043264, featureOptions4: 0, featureOptions5: 281474976710656, optionList: [163840,1610612736], email: null, picUrl: /p/CxTzNn0QSoaSzUb-zMZJrQ/14218c60-958d-4509-8744-b3c19789b2af-96**, title: null, company: null, officePhone: null, cellPhone: null, locale: fr-FR, jid: cxtznn0qsoaszub-zmzjrq@xmpp.zoom.us, myRoomId: 6665079194, myVanityName: null, myDateFormat: null, timezoneid: Europe/Paris, ltiKey: null, ltiSecret: null, hostKey: null}”}

and the request:
https://api.zoom.us/v2/chat/users/me/contacts?page_size=50&type=external

Hey @fhpcs,

Thanks for the details, our engineering team is looking into this. (ZOOM-161693)

-Tommy

Hey @fhpcs,

We have confirmed this is a bug and are working to fix it.

Stay updated here:

Thanks,
Tommy

Hey @fhpcs,

The fix is currently planned to be released this weekend. (due note this timing could change).

Thanks,
Tommy

Nice to read it!
Will test it next week so…

Hey @fhpcs,

This should be fixed. Please test and let me know if you run into any issues! :slight_smile:

Thanks,
Tommy

Hi!

Yes! It’s fixed! Thanks a lot!

1 Like

Hi,

This issue still exists. Showing encoded json array below:

Array
(
[code] => -1
[message] => Duplicate key {id: DJQdvFRRRdW2_JBUDL1qWQaccountId: mkfelp7LTxKzm0k_3YQqbw, firstName: null, lastName: null, displayName: null, enableE2E: 0, disableChat: 0, disableGroupHD: 0, enableSilentMode: 0, featureOptions: 0, featureOptions2: 35184908959748, featureOptions3: 4611686018428043264, featureOptions4: 0, featureOptions5: 281474976710656, optionList: [163840,1610612736], email: null, picUrl: /p/DJQdvFRRRdW2_JBUDL1qWQ/6298d88e-8c1a-429a-a953-7b164587f810-82**, title: null, company: null, officePhone: null, cellPhone: null, locale: , jid: djqdvfrrrdw2_jbudl1qwq@xmpp.zoom.us, myRoomId: 2338255704, myVanityName: null, myDateFormat: null, timezoneid: America/Halifax, ltiKey: null, ltiSecret: null, hostKey: null}
)

Happy to help @fhpcs! :slight_smile:

Thanks,
Tommy

Hey @wayneljw,

Can you please try again?

Thanks,
Tommy

@tommy

Thank you very much.
It’s fixed.

Glad to see it’s resolved @wayneljw, let us know if there’s anything we help with :slight_smile: