Description
I keep receiving error code: 2014 when start the meeting. It already show the video, with status connecting after that it close and show error code: 2014. Can you help me what is the problem?
Can you please provide the concrete values you are using for all of the params other thanapp_key? Also, can you provide a code snippet showing how you are attempting to join the session?
Thanks for confirming. I noticed that you are including the role_type field, but are using v1.1.2. This field was introduced in v1.2.0, so we haven’t done much testing around using it in earlier versions of the SDK. Can you try removing this from the JWT and testing again? Alternatively, you could update to v1.2.0.
Yes, you should be using a value of 1 for the host to start the session. Can you please provide the JWT you are using with the SDK credential edited out so we can investigate?
Apologies if my last reply was not clear, but I meant the actual JWT string that is being passed into the SDK (with your developer credentials replaced with some other value). Can you please provide that?
I had the same issue. I discovered that I was using the API Key and API Secret instead of the SDK Key and SDK Secret. The error code 2014 will get generated if you use the API Key/Secret.
Personally I find this very wrong on Zoom’s part. The documentation on the JWT token clearly indicates the use of the api_key and therefore one will asume that this is the API key when it is not.
To be honest, I have no idea what the API Key is even used for. I think Zoom should address this in their documentation. It is very misleading.
Hi @jon.lieblich, I would like to confirm this issue again about 1.2.1, There must add the role_type field to get a token, and the value is 1 for the host, 0 for other participantes? Right?
That is correct. For all versions <= 1.2.0, you must include the role_type field in the payload. You are correctly understanding the values provided. If you’re ever unsure, you can refer to our documentation, which outlines all of the required fields in the payload.