cannot be cast



I’m starting to have an error while try to access meeting’s links created trough the API. I didn’t change anything on my code and now I started receiving the following message after clicking on a zoom meeting: cannot be cast to (-1)


Does anyone have any idea what to do in this case?

I haven’t seen this error before. Can you be more specific about what steps you are taking?

Sure, thing. Tim
I’m doing the following steps:

  1. Create a meeting using zoom API (success)

  2. Retrieve and users’ zpk token using API (sucess)

3. I built the meeting link: e.g:

I got the following error: cannot be cast to (-1)

If I try the link with /s/,

i got the following error


I double checked my api credentials and meeting settings. 
The meeting only accepts users with my domain’s e-mails. 

For testing, I rolled back my app to a previous version that was working. But the error is still happening, It’s been a little hard for me to understand what’s causing it.  It would be great if anyone has any clue what’s causing it


it looks like what’s causing this problem is the way I’m generating the zpk token for the user. 
I wasn’t adding the ‘token?type=zpk’ to the API request.{{user id}}/token?type=zpk