# Error 2003 when trying to join session

**URL:** <https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244>\
**Category:** Android\
**Created:** [June 11, 2021, 7:51am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244 "2021-06-11T07:51:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AiwNexT](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AiwNexT](https://devforum.zoom.us/u/AiwNexT)\
**Post date:** [June 11, 2021, 7:51am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/1 "2021-06-11T07:51:37Z")

</div>

**Description**  
After the SDK was successfully initialized, I try to join a session, but I got only error with code 2003 (“Please double check the information passed to join the Session”). I followed through the tutorial regarding JWT and authentication in video SDK and tried different payloads, but the error code remains the same.

**Which Android Video SDK version?**  
v1.0.2

**To Reproduce**  
Steps to reproduce the behavior:

1. Initialize SDK with params enableLog = true and domain = “[https://zoom.us](https://zoom.us)”
2. When SDK initialisation is finished and successful, join session with sessionName, userName and token (token generated with [https://jwt.io](https://jwt.io))
3. ZoomInstantSDKDelegate’s onSessionLeave() is called as well as onError(errorCode) with code 2003

**Smartphone:**

- Device: Tested on several devices
- OS: Tested on Android 10 and 11

---

<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 11, 2021, 5:29pm UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/2 "2021-06-11T17:29:10Z")

</div>

Hi @AiwNexT thanks for using our SDK.

Can you please show what the payload of your JWT looks like? Please ensure that any developer credentials are not included in this.

Thanks!

---

<div class="post-metadata">

**Author:** ![AiwNexT](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AiwNexT](https://devforum.zoom.us/u/AiwNexT)\
**Post date:** [June 14, 2021, 6:14am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/3 "2021-06-14T06:14:43Z")

</div>

Hi @jon.zoom

Thanks for responding! Here is my JWT payload:

```auto
{
  "appKey": "xxxxxxx",
  "iat": 1623651072,
  "exp": 1623737470,
  "version": 1,
  "user_identity": "AiwNexT"
}

```

I’ve also tried adding the tokenExp param (equal to exp param’s value) but got an error with code 7 (Wrong usage of the parameters that pass to an interface)

---

<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 14, 2021, 4:57pm UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/4 "2021-06-14T16:57:12Z")

</div>

Hi @AiwNexT,

Thanks for providing that. It looks like your payload is missing the `tpc` parameter. This must be set to the same value as the name of the session you are trying to join.

Thanks!

---

<div class="post-metadata">

**Author:** ![AiwNexT](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AiwNexT](https://devforum.zoom.us/u/AiwNexT)\
**Post date:** [June 15, 2021, 6:21am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/5 "2021-06-15T06:21:20Z")

</div>

Hi @jon.zoom

I tried again with the `tpc` parameter (equal to the sessionName) in the payload, but I am still getting this error with code 2003

---

<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 15, 2021, 4:55pm UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/6 "2021-06-15T16:55:40Z")

</div>

Hi @AiwNexT,

Thanks for the update. What is the session name you are using? Please note that it must only contain alphanumeric characters.

Thanks!

---

<div class="post-metadata">

**Author:** ![AiwNexT](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AiwNexT](https://devforum.zoom.us/u/AiwNexT)\
**Post date:** [June 16, 2021, 6:44am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/7 "2021-06-16T06:44:54Z")

</div>

Hi @jon.zoom

Thank you for response! The session name I use is `aiwnexttestsession`  
I also checked several threads here on the forum regarding the Video SDK on other platforms with similar issues. So I double checked the SDK initialization and made sure I don’t join session before the initialization is finished.  
By the way, I use an empty project to test the Video SDK. Maybe it would be better if I send you the project files?

---

<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 16, 2021, 5:11pm UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/8 "2021-06-16T17:11:53Z")

</div>

Hi @AiwNexT,

Thanks for confirming. That session name definitely should not be causing any issues. One last debugging step before we need you to send over any information: can you check if you are able to start a session using the sample app?

Thanks!

---

<div class="post-metadata">

**Author:** ![AiwNexT](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AiwNexT](https://devforum.zoom.us/u/AiwNexT)\
**Post date:** [June 17, 2021, 6:52am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/9 "2021-06-17T06:52:00Z")

</div>

Hi @jon.zoom

Thank you for your response!  
I changed nothing in my test project, but today it just started working. The sample project works good as well

---

<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 17, 2021, 4:05pm UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/10 "2021-06-17T16:05:39Z")

</div>

Hi @AiwNexT,

Well that’s strange, but I’m glad to hear it’s working now! Let me know if anything changes. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![AiwNexT](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AiwNexT](https://devforum.zoom.us/u/AiwNexT)\
**Post date:** [June 24, 2021, 9:08am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/11 "2021-06-24T09:08:19Z")

</div>

Hi @jon.zoom

Yes, it is strange indeed. Sure, I’ll let you know if there will be any issue. Thank you!

---

<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 24, 2021, 5:23pm UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/12 "2021-06-24T17:23:59Z")

</div>

You are very welcome! 🙂

---

<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:** [July 25, 2021, 3:24am UTC](https://devforum.zoom.us/t/error-2003-when-trying-to-join-session/52244/13 "2021-07-25T03:24:54Z")

</div>

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