# Cannot join session due to User identity issue

**URL:** <https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144>\
**Category:** Android\
**Created:** [June 25, 2021, 8:24am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144 "2021-06-25T08:24:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jddee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jddee/32/28629_2.png) [@jddee](https://devforum.zoom.us/u/jddee)\
**Post date:** [June 25, 2021, 8:24am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/1 "2021-06-25T08:24:15Z")

</div>

**Description**  
Even though unique user id is provided to user\_indentity field in the payload while generating the token, there is an inconsistency while entering into the session on Android. Sometimes it fails to join session while sometimes it does after trying different combinations of values for user\_identity. Providing an unique user\_identity value it works well on web but not on the Android side as described.

**Which Android Video SDK version?**  
Using the latest mobilertc.aar

**Smartphone (please complete the following information):**

- Device: Realme 5Pro
- OS: Android 10

---

<div class="post-metadata">

**Author:** ![sayanta2702](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sayanta2702/32/28630_2.png) [@sayanta2702](https://devforum.zoom.us/u/sayanta2702)\
**Post date:** [June 25, 2021, 9:14am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/2 "2021-06-25T09:14:55Z")

</div>

In web frontend we are using @zoomus/instantsdk version 1.0.3. We need help asap.

---

<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:** [June 25, 2021, 6:56pm UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/3 "2021-06-25T18:56:54Z")

</div>

Hi @jddee, thanks for using our SDK.

Sorry to hear you’re having intermittent issues with joining a session. Can you please clarify which error code you are seeing?

Thanks!

---

<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:** [June 25, 2021, 6:57pm UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/4 "2021-06-25T18:57:24Z")

</div>

Hi @sayanta2702, thanks for using the dev forum.

For help with the web Video SDK, please post over in #web-video-sdk and someone will be more than happy to assist. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![sayanta2702](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sayanta2702/32/28630_2.png) [@sayanta2702](https://devforum.zoom.us/u/sayanta2702)\
**Post date:** [June 26, 2021, 1:01am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/5 "2021-06-26T01:01:21Z")

</div>

@jon.zoom, thanks a lot for replying. Actually we are facing the issue in both web and mobile sdk. And we are using the same token generated from backend in both mobile and web. We wanted to add both Mobile and Web tag…but found only one

---

<div class="post-metadata">

**Author:** ![jddee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jddee/32/28629_2.png) [@jddee](https://devforum.zoom.us/u/jddee)\
**Post date:** [June 26, 2021, 5:04am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/6 "2021-06-26T05:04:35Z")

</div>

@jon.zoom The error code varies sometimes it doesn’t show an error code but sometimes it shows 2014. If we are keeping the token generation process at backend, please let us know what exactly the parameters need to be and how they should be so that that token works both on web frontend sessions as well as android sessions.

---

<div class="post-metadata">

**Author:** ![jddee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jddee/32/28629_2.png) [@jddee](https://devforum.zoom.us/u/jddee)\
**Post date:** [June 26, 2021, 5:07am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/7 "2021-06-26T05:07:17Z")

</div>

The error code varies sometimes it doesn’t show an error code but sometimes it shows 2014. If we are keeping the token generation process at backend, please let us know what exactly the parameters need to be and how they should be so that that token works both on web frontend sessions as well as android sessions.

---

<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:** [June 28, 2021, 5:31pm UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/8 "2021-06-28T17:31:38Z")

</div>

Hi @jddee and @sayanta2702,

> We wanted to add both Mobile and Web tag…but found only one

That is because the web SDK is structured differently than the Android/iOS SDKs, so it has its own forum category.

> The error code varies sometimes it doesn’t show an error code but sometimes it shows 2014.

According to our [error codes documentation](https://marketplace.zoom.us/docs/sdk/video/android/errors), this error means that the parameters being used to join the session are invalid. Please double check that all of the required parameters are being passed in with correct values.

Thanks!

---

<div class="post-metadata">

**Author:** ![sayanta2702](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sayanta2702/32/28630_2.png) [@sayanta2702](https://devforum.zoom.us/u/sayanta2702)\
**Post date:** [July 3, 2021, 6:38am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/9 "2021-07-03T06:38:19Z")

</div>

Can we use same signanture in both android and web sdk?

---

<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:** [July 6, 2021, 8:16pm UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/10 "2021-07-06T20:16:47Z")

</div>

Hi @sayanta2702,

The structure of the JWT required for our native SDKs can be found [here](https://marketplace.zoom.us/docs/sdk/video/auth). For help with the web SDK, please post over in #web-video-sdk and one of my colleagues will be happy to assist. 🙂

Thanks!

---

<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:** [August 6, 2021, 6:17am UTC](https://devforum.zoom.us/t/cannot-join-session-due-to-user-identity-issue/53144/11 "2021-08-06T06:17:07Z")

</div>

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