# Is there a way to check SDK initialization completion?

**URL:** <https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124>\
**Category:** Linux\
**Created:** [April 18, 2024, 6:48am UTC](https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124 "2024-04-18T06:48:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![masato.yamauchi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/masato.yamauchi/32/51964_2.png) [@masato.yamauchi](https://devforum.zoom.us/u/masato.yamauchi)\
**Post date:** [April 18, 2024, 6:48am UTC](https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124/1 "2024-04-18T06:48:38Z")

</div>

The onError function is called after the join session.

```auto
  virtual void onError (ZoomVideoSDKErrors errorCode, int detailErrorCode) {
    printf("join session errorCode : %d detailErrorCode: %d\n", errorCode, detailErrorCode);
  }

```

> join session errorCode : 2003 detailErrorCode: 3

I think that Video SDK initialization has not been completed.  
Is there a way to check the completion of initialization?

SDK Version: v1.10.11  
OS: Linux

---

<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:** [April 18, 2024, 11:46pm UTC](https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124/2 "2024-04-18T23:46:49Z")

</div>

@masato.yamauchi could you capture an encrypted log for this?

- **How to enable SDK log**

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

`ZOOM_SDK_NAMESPACE::InitParam initParam; initParam.domain = L"https://zoom.us"; initParam.enableLog = true;`

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

---

<div class="post-metadata">

**Author:** ![masato.yamauchi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/masato.yamauchi/32/51964_2.png) [@masato.yamauchi](https://devforum.zoom.us/u/masato.yamauchi)\
**Post date:** [April 19, 2024, 7:16am UTC](https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124/3 "2024-04-19T07:16:15Z")

</div>

Thanks @chunsiong.zoom  
It has been confirmed that a log file is being output.  
What should I do next?

---

<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:** [April 23, 2024, 2:10am UTC](https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124/4 "2024-04-23T02:10:30Z")

</div>

@masato.yamauchi can I confirm if you are using Meeting SDK or Video SDK?

---

<div class="post-metadata">

**Author:** ![masato.yamauchi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/masato.yamauchi/32/51964_2.png) [@masato.yamauchi](https://devforum.zoom.us/u/masato.yamauchi)\
**Post date:** [April 23, 2024, 2:29am UTC](https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124/5 "2024-04-23T02:29:34Z")

</div>

> [@chunsiong.zoom](#):
>
> can I confirm if you are using Meeting SDK or Video SDK?

I’m using the Video SDK.  
join session succeeds about once in five times.

---

<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:** [April 26, 2024, 7:22am UTC](https://devforum.zoom.us/t/is-there-a-way-to-check-sdk-initialization-completion/108124/6 "2024-04-26T07:22:32Z")

</div>

Raising a ticket  
ZSEE-126984
