# m\_pMeetingService-\>Start() causes SDKERR\_UNAUTHENTICATION when run immediately after windows startup

**URL:** <https://devforum.zoom.us/t/m-pmeetingservice-start-causes-sdkerr-unauthentication-when-run-immediately-after-windows-startup/93299>\
**Category:** Windows\
**Created:** [August 12, 2023, 11:28am UTC](https://devforum.zoom.us/t/m-pmeetingservice-start-causes-sdkerr-unauthentication-when-run-immediately-after-windows-startup/93299 "2023-08-12T11:28:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanataba](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hanataba/32/34209_2.png) [@hanataba](https://devforum.zoom.us/u/hanataba)\
**Post date:** [August 12, 2023, 11:28am UTC](https://devforum.zoom.us/t/m-pmeetingservice-start-causes-sdkerr-unauthentication-when-run-immediately-after-windows-startup/93299/1 "2023-08-12T11:28:08Z")

</div>

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

```auto
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.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/4/74123f95c1914c25402aa35bd8e41a4831af7c35.jpeg)

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

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/b/7b0eea98c321e828fc5d6dfaede7b815e11ca4e8.jpeg)

**Device (please complete the following information):**

- OS: Windows Server 2022

---

<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:** [August 14, 2023, 1:35am UTC](https://devforum.zoom.us/t/m-pmeetingservice-start-causes-sdkerr-unauthentication-when-run-immediately-after-windows-startup/93299/2 "2023-08-14T01:35:04Z")

</div>

@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?

---

<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:** [September 13, 2023, 11:35am UTC](https://devforum.zoom.us/t/m-pmeetingservice-start-causes-sdkerr-unauthentication-when-run-immediately-after-windows-startup/93299/3 "2023-09-13T11:35:28Z")

</div>

Closed on September 13, 2023, 11:35am UTC

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