Unable to initialize sdk version 5.16.1.16439

I am using the latest version zoom-sdk-android-5.16.1.16439, and to create a JWT token, I use the website https://jwt.io with header as:

{
  "alg": "HS256",
  "typ": "JWT"
}

payload:

{
  "appKey": ZOOM_MEETING_CLIENT_ID,
  "iat": 1695036808,
  "exp": 1695046808,
  "tokenExp": 1695036808
}

and signature:

HMACSHA256(
  base64UrlEncode(header) + "." +
  base64UrlEncode(payload),
  SECRET(secret base64 encoded)
)

i run exmple2 project which is located in the zoom-sdk-android-5.16.1.16439

Still on onZoomSDKInitializeResult i am getting the response as :
onZoomSDKInitializeResult, errorCode=1, internalErrorCode=0

Please help, there is no solution yet and I have been stuck in the problem for a week

Hi @hammou4700
Thanks for reaching out to us.
Could you please make sure that the value of your tokenExp field is a date in the future? It looks like the value you are passing is a date in the past and this could be the reason why you are getting that error.
Also, make sure that you are passing the right Cliend ID and Secret in your payload

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