m_pMeetingService->Start() causes SDKERR_UNAUTHENTICATION when run immediately after windows startup

I am making an app with windows meeting sdk.

And I want to start the application at the same time windows starts up.
I have the app start at startup.

When I run the app right after windows startup,
I get an error in login_restapi_without_login_workflow.cpp

ZOOM_SDK_NAMESPACE::SDKError CSDKRestAPIUserWorkFlow::RestAPIStartMeeting(ZOOM_SDK_NAMESPACE::StartParam& startParam)
{
	ZOOM_SDK_NAMESPACE::SDKError err(ZOOM_SDK_NAMESPACE::SDKERR_SERVICE_FAILED);
	if(IsMeetingServiceReady())
	{
		if (!IsInMeeting(m_pMeetingService->GetMeetingStatus()))
		{	
			/*some configurations about the meeting should be called here*/
			if (m_pMeetingService->GetMeetingConfiguration())
			{
				m_pMeetingService->GetMeetingConfiguration()->SetSharingToolbarVisibility(true);
			}
			
			err = m_pMeetingService->Start(startParam);
			return err;
		}

		return ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS;
	}
	return ZOOM_SDK_NAMESPACE::SDKERR_UNINITIALIZE;
}

m_pMeetingService->Start(startParam);
results in SDKERR_UNAUTHENTICATION.

If I run it after a short time after windows starts the problem does not occur.

There is a separate program to access the web, which is running before this app, and it is successful.
So, at the time the application is launched, it is connected to the Ineternet.

Can you give me some advice? I am having a very hard time.


A clear and concise description of what the question is.

Which Windows Meeting SDK version?
windows MeetingSDK 5.14.10

Screenshots
Paste the value of the parameter in case of error

Device (please complete the following information):

  • OS: Windows Server 2022

@hanataba ,

It might be hard to troubleshoot this.

Let’s try this.

If you get the same error SDKERR_UNAUTHENTICATION(8), could you retry doing authentication again and then starting a meeting?

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