# Zoom Meeting SDK - Auto user joining issue

**URL:** <https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162>\
**Category:** Meeting SDK\
**Created:** [October 22, 2023, 9:01am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162 "2023-10-22T09:01:00Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![eladw](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@eladw](https://devforum.zoom.us/u/eladw)\
**Post date:** [November 20, 2023, 1:53pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/21 "2023-11-20T13:53:08Z")

</div>

@chunsiong.zoom

Hi , So I’ve implemented the onReminderNotify cb for the c# wrapper

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/2/72291483b48f4c945337f89842d40e19b2978cf9.png)

I see no logs , It means this cb is not triggered I guess could be two reasons to that , Either I implemented it wrong in the c++ or there is no meeting reminder prompt that blocks the bot from joining.

An important thing to say is that if I run manually the c# wrapper from the visual studio as Windows application with UI forms , I can join to the meeting after setting the meeting id and password and generating JWT token , But when running as a background process it still doesn’t work and again , It used to.

---

<div class="post-metadata">

**Author:** ![eladw](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@eladw](https://devforum.zoom.us/u/eladw)\
**Post date:** [November 26, 2023, 1:04pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/22 "2023-11-26T13:04:07Z")

</div>

@chunsiong.zoom

Hi ,

Any news ?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [November 27, 2023, 3:54am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/23 "2023-11-27T03:54:15Z")

</div>

@eladw before joining meeting, I’m doing something like this  
I’m also providing the sample for MeetingReminderListener cpp and h file.

```auto
	// set event listnener for prompt handler 
	IMeetingReminderController* meetingremindercontroller = m_pMeetingService->GetMeetingReminderController();
	MeetingReminderEventListener* meetingremindereventlistener = new MeetingReminderEventListener();
	meetingremindercontroller->SetEvent(meetingremindereventlistener);

```

**`MeetingReminderListener.cpp`**

```auto
#include "MeetingReminderEventListener.h" // Include the header file you've created
#include <stdlib.h>
#include <iostream>

// You might need to include additional headers here if required

// Implement any necessary functions or methods

// This is just a placeholder implementation to show how the header might be used

    MeetingReminderEventListener::MeetingReminderEventListener(){}

     void MeetingReminderEventListener::onReminderNotify(ZOOMSDK::IMeetingReminderContent* content, ZOOMSDK::IMeetingReminderHandler* handle) 
    {
        if (content)
        {
            // Handle the reminder dialog content
            ZOOMSDK::MeetingReminderType type = content->GetType();
            const zchar_t* title = content->GetTitle();
            const zchar_t* dialogContent = content->GetContent();
            bool isBlocking = content->IsBlocking();
            std::cerr << "title :" << title<< std::endl;
             std::cerr << "dialogContent :" << dialogContent<< std::endl;
            // You can implement your logic here based on the reminder type, title, content, and whether it's blocking
            
            // For demonstration, let's print the reminder details
          
            // wprintf(L"Reminder Type: %d\n", type);
            // wprintf(L"Title: %ls\n", title);
            // wprintf(L"Content: %ls\n", dialogContent);
            // wprintf(L"Is Blocking: %s\n", isBlocking ? L"Yes" : L"No");
            
            // Handle the reminder actions (ignore, accept, decline) if needed
            if (handle)
            {
                // For demonstration, let's accept the reminder
                handle->Accept();
            }
        }
    }

```

**`MeetingReminderListener.h`**  
#include “meeting\_service\_components/meeting\_reminder\_ctrl\_interface.h” // Assuming this header includes the required definitions  
#include “zoom\_sdk.h”

class MeetingReminderEventListener : public ZOOM\_SDK\_NAMESPACE::IMeetingReminderEvent  
{  
public:  
MeetingReminderEventListener();

virtual void onReminderNotify(ZOOMSDK::IMeetingReminderContent\* content, ZOOMSDK::IMeetingReminderHandler\* handle);

};

---

<div class="post-metadata">

**Author:** ![eladw](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@eladw](https://devforum.zoom.us/u/eladw)\
**Post date:** [November 30, 2023, 12:33pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/24 "2023-11-30T12:33:34Z")

</div>

@chunsiong.zoom Hi,

Are we sure it is the issue?

Because as I said when running the process manually within my visual studio with the C# wrapper, I can insert the bot user into the meeting without any popups except the one requesting for meeting password if there is.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 13, 2023, 4:39am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/25 "2023-12-13T04:39:36Z")

</div>

@eladw I can’t be sure unless we are able to capture the log when we encounter the issues.

The recommendations are based on commonly faced problems by other users

---

<div class="post-metadata">

**Author:** ![eladw](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@eladw](https://devforum.zoom.us/u/eladw)\
**Post date:** [December 21, 2023, 8:50am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/26 "2023-12-21T08:50:51Z")

</div>

@chunsiong.zoom

Hi ,  
Is there a way to activate the C++ logs ?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 21, 2023, 8:53am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/27 "2023-12-21T08:53:52Z")

</div>

@eladw , if you are using Windows, here’s how to capture the logs

# Windows

- **How to enable SDK log**

When initializing the SDK, set InitParam.enableLogByDefault to be true, then the log feature will be enabled, the default log size will be 5MB

```auto
initParam.strWebDomain = strWebDomain.c_str();
initParam.strSupportUrl = L"https://zoom.us";
initParam.enableLogByDefault = true;
m_bSDKInit = CSDKHelper::Init(initParam);

```

- **Where to find SDK log**
  - The SDK log files are encrypted files that end with the extension “.log”
  - Location: %appdata%/zoomsdk/logs/

---

<div class="post-metadata">

**Author:** ![eladw](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@eladw](https://devforum.zoom.us/u/eladw)\
**Post date:** [December 21, 2023, 8:57am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/28 "2023-12-21T08:57:35Z")

</div>

@chunsiong.zoom  
This is how I initialize it :

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/f/bf623a9934eed6eaadc13982f4e9f555c171770e.png)

Is that correct? Because I don’t see any logs at all in this location

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 21, 2023, 8:59am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/29 "2023-12-21T08:59:16Z")

</div>

@eladw are you using the C# or C++ sample app?

---

<div class="post-metadata">

**Author:** ![eladw](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@eladw](https://devforum.zoom.us/u/eladw)\
**Post date:** [December 21, 2023, 9:17am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/30 "2023-12-21T09:17:19Z")

</div>

@chunsiong.zoom  
I’m using the C# wrapper

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 22, 2023, 3:37am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162/31 "2023-12-22T03:37:42Z")

</div>

> [@chunsiong.zoom](#):
>
> %appdata%/zoomsdk/logs/

@eladw adding this line `param.enable_log=true;` should capture the log

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/4/04d662a16a149663f86902aee714c94927664d09.jpeg)

I’ve just tested it on 5.16.6 on my machine, and the log shows up.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/b/4b65d454f25b6d96eb3e0a6ef44fd5ed0d13a60f.png)

[Previous page](https://devforum.zoom.us/t/zoom-meeting-sdk-auto-user-joining-issue/97162.md?page=1)
