Error 2003 when trying to join session

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
  2. When SDK initialisation is finished and successful, join session with sessionName, userName and token (token generated with 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

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!

Hi @jon.lieblich

Thanks for responding! Here is my JWT payload:

{
  "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)

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!

Hi @jon.lieblich

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