Flutter zoom video sdk error invalid params

Hi, @kwaku.nyante I am stuck below the error, would you please explain why I got this error? thanks in advance.

D/ZoomVideoSdkDebug(10733): onError, error: ZoomVideoSDKError_JoinSession_Token_RoleType_EmptyOrWrong

Hi, the error reads RoleType_EmptyOrWrong. To double check, have you passed in a role_type to the JWT that you generated? The value needs to be 1 or 0.

You can find more information about generating the token here: Video SDK - Authorize.

Thank you @ekaansh.zoom

1 Like