Description
Connection via Android Zoom with a generated JWT fails with 2003 errors.
I understand something in jwt data and connection to session might not be matching, or invalid, but plain 2003 does not help understand what exactly.
Which Android Video SDK version?
zoom-video-sdk-android-1.2.3
To Reproduce(If applicable)
Steps to reproduce the behavior:
I’m not seeing anything immediately wrong with how you’re trying to join the session. Can you also provide a snippet showing how you are initializing the SDK so we can confirm there’s nothing going on there?
Addendum: of course the jwt is different then from first post, as I tried with shorter values, for example just a timestamp for tpc, but still not working:
Thanks for the additional information. I’m seeing one discrepancy, which is the format of the timestamps. It looks like in the first post you are providing them as seconds, but in the latest reply they’re milliseconds. Just to be clear, these timestamps should be in seconds.
Assuming you are seeing the same error regardless of the timestamps, I’m not seeing any issues with your implementation. Can you please provide the encrypted SDK logs so we can investigate further? In case you aren’t aware, instructions on how to get the SDK logs can be found here (that’s for the Meeting SDK, but the location of logs will be the same in the Video SDK).
You can either upload the logs to a file sharing service or submit them through a ticket on our developer support site. If you choose the latter option, please let me know the ticket number so that I can locate the logs.
That was the safes way, did not want to put that on a sharing service and forget about it
Thank you, I hope there are some insights! On the flutter app it worked somehow, 2 weeks ago, with other demo credentials.
Is there a way to get more debug logs locally?
In the mean time: thank you for your time and patient support,
Thanks for providing that. Confirming that we have received your logs and are investigating this error. I’ll keep you updated once we have any additional information.
Is there a way to get more debug logs locally?
Unfortunately the error code produced by the SDK is about as in-depth as we can get. The encrypted SDK logs do have more information, but they can only be decrypted by Zoom due to the nature of the information included in them.
Actually upon taking another look at your implementation, I wanted to confirm something. It looks like you’re splitting the JWT and only providing the last segment of it as the token param. This means that you are not sending the whole JWT, only the signature of it. So in the example value you provided, it would be sending TQa0L6G3_svpZ3aSNw2A-BHz3POYpsn4m5Tzjd6-Wd0, which is incorrect. The entire JWT should be set as the token param. Can you confirm whether this is the approach you are using?
“app_key” and “secret” are of course my zoom secrets.
In Json payload we just send the token encapsulated and together with tpc and “user_identity”, as we thought we give it a try, if user_identity a) has certain requirements b) must match on joining c) is not optional but mandatory.
In my previous message, I was referring to this line in your implementation:
val parses = jwt.split(":")
Here you are splitting the JWT into 3 individual strings for the header, payload, and signature. Then later in your implementation, you are passing in the signature. Instead of doing this, please try providing the jwt value as a whole. Your payload seems correct, so I think that this is likely the cause of the error you are seeing. If not, we can certainly investigate further.
No I did not split the JWT… I encasulated it like this: “username:session:JWT”, the JWT itself has of course its original header, payload and signature.
Be aware that I split on “:”, not “.”
In the end we ended up using Jitsi for the Open version and Twilio for the commercial, we just need to have a debuggable system and rely on java docs. Even if your support was nice, we cannot build on that alone, the logs were just missing…