# Customer\_key is empty in UserInfo

**URL:** <https://devforum.zoom.us/t/customer-key-is-empty-in-userinfo/57103>\
**Category:** Android\
**Created:** [September 8, 2021, 11:20am UTC](https://devforum.zoom.us/t/customer-key-is-empty-in-userinfo/57103 "2021-09-08T11:20:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymousedge03](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anonymousedge03/32/18582_2.png) [@anonymousedge03](https://devforum.zoom.us/u/anonymousedge03)\
**Post date:** [September 8, 2021, 11:20am UTC](https://devforum.zoom.us/t/customer-key-is-empty-in-userinfo/57103/1 "2021-09-08T11:20:04Z")

</div>

**Description**  
I am not able to fetch customerKey of a User from both Android and iOS SDK. First, I create the meeting as a host. Then if any user joins the meeting, I fetch their customerKey based on the userId. If I join from WebSDK then this customerKey works fine. But if I join from Android or iOS SDK the customerKey is empty.

I am setting customerKey of a user like below while joining the meeting.

```auto
        val opts = JoinMeetingOptions()
        opts.no_invite = true
        opts.meeting_views_options =
            MeetingViewsOptions.NO_TEXT_PASSWORD +
                    MeetingViewsOptions.NO_TEXT_MEETING_ID
        opts.no_dial_in_via_phone = true
        opts.no_dial_out_to_phone = true
        opts.customer_key = "abc"

        val params = JoinMeetingParams()
        params.displayName = displayName
        params.meetingNo = meetingId
        params.password = password

        ZoomSDK.getInstance().joinMeetingWithParams(context, params, opts)

```

Then I am fetching that user’s customerKey like below when he joins the meeting-

```auto
val inMeetingService = ZoomSDK.getInstance().inMeetingService
val customerKey: String? = inMeetingService.getUserInfoById(userId)?.customerKey // This customerKey is coming as empty in both Android and iOS but the other info like name is correct.

```

**Which Android Meeting SDK version?**  
5.7.1.1267

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 8, 2021, 5:20pm UTC](https://devforum.zoom.us/t/customer-key-is-empty-in-userinfo/57103/2 "2021-09-08T17:20:52Z")

</div>

Hi @anonymousedge03, thanks for bringing this to our attention.

I have also been able to reproduce this behavior. We will need to investigate this and let you know as soon as we have any updates.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymousedge03](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anonymousedge03/32/18582_2.png) [@anonymousedge03](https://devforum.zoom.us/u/anonymousedge03)\
**Post date:** [September 8, 2021, 5:40pm UTC](https://devforum.zoom.us/t/customer-key-is-empty-in-userinfo/57103/3 "2021-09-08T17:40:02Z")

</div>

@jon.zoom We are stuck in a bad situation because of this issue. We have to mandatorily release an app with the latest Zoom SDK because of the APK-based update code in the older Zoom SDK.

But this issue on the latest Zoom SDK breaks a major functionality in our app.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 9, 2021, 9:31pm UTC](https://devforum.zoom.us/t/customer-key-is-empty-in-userinfo/57103/4 "2021-09-09T21:31:09Z")

</div>

Hey @anonymousedge03,

I understand this is not ideal for developers using the SDK. This issue appears to be effecting other platforms as well and the engineers are investigating the root cause.

Thanks!  
Michael

---

<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:** [October 10, 2021, 7:32am UTC](https://devforum.zoom.us/t/customer-key-is-empty-in-userinfo/57103/5 "2021-10-10T07:32:00Z")

</div>

Closed on October 10, 2021, 7:32am UTC

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