# GetAudioRawData sample: SDKERR\_INVALID\_PARAMETER when joining a meeting

**URL:** <https://devforum.zoom.us/t/getaudiorawdata-sample-sdkerr-invalid-parameter-when-joining-a-meeting/127769>\
**Category:** Windows\
**Tags:** sdk\
**Created:** [February 20, 2025, 5:05pm UTC](https://devforum.zoom.us/t/getaudiorawdata-sample-sdkerr-invalid-parameter-when-joining-a-meeting/127769 "2025-02-20T17:05:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![genemzo](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@genemzo](https://devforum.zoom.us/u/genemzo)\
**Post date:** [February 20, 2025, 5:05pm UTC](https://devforum.zoom.us/t/getaudiorawdata-sample-sdkerr-invalid-parameter-when-joining-a-meeting/127769/1 "2025-02-20T17:05:31Z")

</div>

Good time of day, Zoom developers!

We try to debug the GetAudioRawData code sample in Visual Studio Prof 2002 on Windows 11.

The sample location: [Zoom\_MeetingSDK\_Windows\_RawDataDemos/GetAudioRawData at master · tanchunsiong/Zoom\_MeetingSDK\_Windows\_RawDataDemos · GitHub](https://github.com/tanchunsiong/Zoom_MeetingSDK_Windows_RawDataDemos/tree/master/GetAudioRawData)

When it tries to join our meeting (running in Zoom Workplace on the same machine), it gives SDKERR\_INVALID\_PARAMETER, without any further explanations.  
It looks like the JWT token is OK, and both the meeting number and the passcode (both taken from the meeting info) are also OK.

We tried different combinations of the parameters in JoinParam4WithoutLogin, with the same result. Now we initialize the minimal set of fields in it:

// Try to create the meeting configuration object, it’s used to configure the meeting.  
// JoinParam4WithoutLogin param joins a meeting as a guest user, who typically doesn’t login.  
JoinParam joinMeetingParam;  
JoinParam4WithoutLogin param;  
joinMeetingParam.userType = SDK\_UT\_WITHOUT\_LOGIN;  
param.meetingNumber = meeting\_number;  
param.psw = passcode.c\_str();  
param.userName = L"GetRawAudio(Bot)";  
// param.userZAK = NULL;  
// param.join\_token = NULL;  
// param.onBehalfToken = NULL;  
// param.vanityID = NULL;  
// param.customer\_key = NULL;  
// param.webinarToken = NULL;  
// param.app\_privilege\_token = NULL;  
// param.hDirectShareAppWnd = 0;  
// param.isAudioOff = false;  
// param.isVideoOff = true;  
// param.isMyVoiceInMix = false;  
// param.isDirectShareDesktop = false;  
// param.isAudioRawDataStereo = true; // The default is false (mono).  
// param.eAudioRawdataSamplingRate = AudioRawdataSamplingRate\_32K;

joinMeetingParam.param.withoutloginuserJoin = param;  
err = **meetingService-\>Join (joinMeetingParam);**

The output:

Reading meeting parameters from config.json.  
SDK JWT: eyJ0eXAiOiJKV1QiLC\*\*\*\*\*\*\*\*  
Meeting number: 95943936502.  
Passcode: 635\*\*\*  
Video source: Big\_Buck\_Bunny\_1080\_10s\_1MB.mp4.  
Initializing the SDK…  
SDK Initialized.  
CreateNetworkConnectionHelper created.  
NetworkConnectionHandler registered. Detecting proxy.  
OnProxyDetectComplete  
Authorizing the SDK with JWT Token…  
AuthService created.  
AuthServiceEventListener added.  
Setting JWT token.  
Auth call started, auth in progress.  
OnAuthenticationReturn: auth result: 0  
Auth succeeded: JWT.  
OnLoginReturnWithReason: 0  
Started joining the meeting…  
Meeting service created.  
Setting service created.  
Meeting params: meeting number: 95943936502, passcode: 635\*\*\*, user name: GetRawAudio(Bot), meeting type: 101.  
Joining the meeting 95943936502  
ERROR: Cannot join the meeting, error code: 3  
SDK ERROR: 3, invalid parameters.

We use the latest version of the Meeting SDK for Windows: v6.3.10.59937

Another question: Is it possible to debug the SDK methods? The debugger does not go inside the meetingService-\>Join (joinMeetingParam) call. I guess, it’s because there is no debug version of the dll available.

Thank you in advance for your help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 23, 2025, 3:05am UTC](https://devforum.zoom.us/t/getaudiorawdata-sample-sdkerr-invalid-parameter-when-joining-a-meeting/127769/2 "2025-03-23T03:05:40Z")

</div>

Closed on March 23, 2025, 3:05am UTC

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