Meeting start complains SDKERR_WRONG_USAGE

Can anyone please confirm the parameters I am passing are correct? Thank you!

Hey @thatwouldbetheday,

Thanks for using the dev forum!

Have you already initialized and authenticated the SDK before attempting to start the meeting?

Thanks!
Michael

Thanks for the response Michael!!

Yes I have indeed and checked the error codes and all good, please see below:

Starting Digivision
2021-09-17 15:14:23.3008|INFO|Geomasoft.Digivision.DigivisionForm|initZoomSdk (Initialize): SDKERR_SUCCESS
2021-09-17 15:14:23.3940|INFO|Geomasoft.Digivision.DigivisionForm|initZoomSdk (SDKAuth): SDKERR_SUCCESS
2021-09-17 15:14:24.9059|FATAL|Geomasoft.Digivision.DigivisionForm|onAuthenticationReturn: AUTHRET_SUCCESS
2021-09-17 15:14:24.9059|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINSTATUS): LOGIN_IDLE
2021-09-17 15:14:24.9059|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINFAILREASON): LoginFail_None
2021-09-17 15:14:26.0908|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINSTATUS): LOGIN_PROCESSING
2021-09-17 15:14:26.0908|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINFAILREASON): LoginFail_None
2021-09-17 15:14:26.0908|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINSTATUS): LOGIN_PROCESSING
2021-09-17 15:14:26.0908|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINFAILREASON): LoginFail_None
2021-09-17 15:14:27.2459|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINSTATUS): LOGIN_SUCCESS
2021-09-17 15:14:27.2459|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINFAILREASON): LoginFail_None
2021-09-17 15:14:27.2459|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (IAccountInfo): 
2021-09-17 15:14:27.2459|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINSTATUS): LOGIN_SUCCESS
2021-09-17 15:14:27.2459|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (LOGINFAILREASON): LoginFail_None
2021-09-17 15:14:27.2459|FATAL|Geomasoft.Digivision.DigivisionForm|onLoginRet (IAccountInfo): 
2021-09-17 15:14:29.4917|INFO|Geomasoft.Digivision.DigivisionForm|getUserId (url): https://api.zoom.us/v2/users/<user email address>
2021-09-17 15:14:29.4917|INFO|Geomasoft.Digivision.DigivisionForm|getUserId (id): <userID from REST API>
2021-09-17 15:14:29.4917|INFO|Geomasoft.Digivision.DigivisionForm|startMeeting: SDKERR_WRONG_USEAGE

Hi @thatwouldbetheday,

In order to rule out any incorrect information being passed into the SDK as the cause of this, can you please confirm whether or not you are able to reproduce this error in the SDK included with the SDK?

Thanks!

Good idea Michael, I will do that but just realized my trial period on the Basic plan may have expired! thanks, Michael!!

Michael I really appreciate the effort you make in resolving this issue, however it is so so frustrating thus far, working with the Zoom SDK and REST API.

The demo app does exactly as my app does, sdk init OK, sdk Auth OK, but on starting or join returns error code 15 and SDKError only has 15 elements defined and it is zero based, so where does 15 come from?

The demo app is a badly written app for a demo app. no comments, no errors handled, it is a nightmare.

The first time users just want to concentrate on the fundamentals relating to bootstrapping instead of having to worry about UserName (display name??), UserID (email or retrieved from the REST API), Access Token (users’ or developers) and tidying up issues in the ’

:cry:demo’

even the meeting number parsing in the code doesnt sanitize the input… just imagine the time that would be wasted on tidying this up by all the devs using for the first time…

Hey @thatwouldbetheday,

I am sorry you are having a frustrating experience and I empathize with you completely. I saw you responded here:

Are you still receiving an error code when you try to start a meeting? Error code 15 is an error that can be caused by numerous things. It is thrown when the SDK is being told to do something it cant. When this error happens in the start meeting process it is usually caused by an invalid parameter given to the start/join params.

Thanks!
Michael

Michael, please note my frustration is NOT with you. you are an absolute star mate :slight_smile:

yes i am still getting the error 15…

i am getting the same error in the ‘demo app’ too.

perhaps, i will give you some context…

  1. I have a pro account and am the owner
  2. have a JWT and an SDK apps registerd for the same account
  3. sdk init and auth is success
  4. on starting i am passing the following paras highlighted (demo code)

my personal meeting#
userid from my account email address
userZAK for the above userid
username is just a display name…

cany you confirm if the paras are correct please?

Hey @thatwouldbetheday,

My suspicion here is that your ZAK token may be invalid. Can you harcode some of these values into the demo app for a meeting/user you are confident you have the right info for? Also, is this user a user on your account?

Thanks!
Michael

@Michael_Condon you are a superstar mate!!!

sorry for the late reply, been working on other modules…

the descriptions in the ‘demo app’ confused me such as ‘App Token’, ‘Access Token’ etc…

it is ALL working now.

Thank you so much my friend!!!

the re is another post coming up on Screen sharing please help me with that :slight_smile: :wink: :blush:

1 Like

Hey @thatwouldbetheday,

Awesome! I am happy to hear your issue was resolved :slight_smile: I will see you on the other post.

Thanks!
Michael

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.