I am running into an error when trying to start a meeting owned by the current user using their Zoom Access Token on Android. I’m using SDK version 5.7 and initializing the SDK with a key/secret and using OAuth to get an access token. Here is the flow of what I’m trying to do.
- The user clicks a “start meeting” button
- A called is made to “https://api.zoom.us/v2/users/me/zak” to get the user’s ZAK
- I then set up a
StartMeetingParamWithoutLogin
object, as specified in this documentation, and try to start the meeting like so:
StartMeetingParamsWithoutLogin params = new StartMeetingParamsWithoutLogin();
params.meetingNo = meetingItem.getMeetingIdAsString();
params.zoomAccessToken = zakToken;
params.displayName = "Test Name";
params.userId = currentUser.getId();
params.userType = MeetingService.USER_TYPE_ZOOM;
int result = meetingService.startMeetingWithParams(getContext(), params,
ZoomMeetingUISettingHelper.getStartMeetingOptions());
if (result != 0) {
//If the result isn't a success we want to clear this state
Log.w(TAG, "Could not start the meeting. Error code: " + result);
}
The error code I am receiving is 99, which means “Invalid arguments” according to these documentation pages.
I have provided all the fields in the StartMeetingParamsWithoutLogin
class, ensured that the context
and opts
are also provided, and therefore am not sure what arguments are invalid and therefore cannot make them valid.
I saw a similar post in the dev forum where the answer suggested that the error code 99 meant the device was not supported, per global error code, but I verified that startMeetingWithParams()
returns a MeetingError
and the SDK reference pages confirm the MeetingError
code 99 is invalid arguments.
Any guidance on how to approach this, as the documentation does not provide any regarding this error?