No Permission to End Meeting

Meeting SDK Type and Version
Windows C++ Meeting SDK - v6.2.5.48922

Description
When I call meetingService->Leave(END_MEETING) I receive the error 12 (which means no permission)

Error?
SDK ERROR 12 (NO PERMISSION)

Troubleshooting Routes
I have attempted to set the SDK Bot as the host when creating the SDK JWT Token but still the same error.

How To Reproduce
Steps to reproduce the behavior including:
*1. SDK JWT & General Account Level App
*2. SDK ERROR 12 (NO PERMISSION) on END_MEETING
*3. Leave Meeting Code:

if (meeting_service)  {
    SDKError err = meeting_service->Leave(END_MEETING);    

    if (err != SDKERR_SUCCESS)  {
        cerr << "Failed to end meeting: " << err << '\n';
    }
}

Hey @eoin-mcc ,

Have you been able to confirm that your bot is in fact the host of the meeting when calling meetingService->Leave(END_MEETING)? This command will only work if your bot is the host of the meeting. If you just want the bot to leave the meeting, you can use meetingService->Leave(LEAVE_MEETING) instead.

You also might want to check out the Recall.ai API.

It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video/metadata from meetings without you needing to spend months to build, scale and maintain these bots.

Here are the API docs: https://docs.recall.ai