# Init SDK error 3, 5003

**URL:** <https://devforum.zoom.us/t/init-sdk-error-3-5003/16654>\
**Category:** API and Webhooks\
**Created:** [May 7, 2020, 7:15pm UTC](https://devforum.zoom.us/t/init-sdk-error-3-5003/16654 "2020-05-07T19:15:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnbell](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jnbell](https://devforum.zoom.us/u/jnbell)\
**Post date:** [May 7, 2020, 7:15pm UTC](https://devforum.zoom.us/t/init-sdk-error-3-5003/16654/1 "2020-05-07T19:15:21Z")

</div>

Trying to run the Android Java sample I get:  
Failed to initialize Zoom SDK. Error: 3, internalErrorCode=5003

I was first getting Error 1 and solved it by 1) using the key/secret instead of the token, and also by 2) generating a correct JWTTOKEN and using that instead of the key/secret.

I have confirmed that the web domain is set to “[zoom.us](http://zoom.us)” by putting a breakpoint in the initSDK function of InitAuthSDKHelper.java

What else do I need to do to authenticate the SDK?

Thank, John

---

<div class="post-metadata">

**Author:** ![jnbell](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jnbell](https://devforum.zoom.us/u/jnbell)\
**Post date:** [May 7, 2020, 9:51pm UTC](https://devforum.zoom.us/t/init-sdk-error-3-5003/16654/2 "2020-05-07T21:51:34Z")

</div>

This is content of my initSDK, as per the sample:

```
public void initSDK(Context context, InitAuthSDKCallback callback) {
    if (!mZoomSDK.isInitialized()) {
        mInitAuthSDKCallback = callback;

        ZoomSDKInitParams initParams = new ZoomSDKInitParams();
        initParams.jwtToken = SDK_JWTTOKEN;
        //initParams.appKey = SDK_KEY;
        //initParams.appSecret = SDK_SECRET;

        initParams.enableLog = true;
        initParams.logSize = 50;
        initParams.domain=AuthConstants.WEB_DOMAIN;
        initParams.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;
        mZoomSDK.initialize(context, this, initParams);
    }
}

```

enableLog is set to true, but there is no log file generated.

---

<div class="post-metadata">

**Author:** ![jnbell](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jnbell](https://devforum.zoom.us/u/jnbell)\
**Post date:** [May 8, 2020, 5:59pm UTC](https://devforum.zoom.us/t/init-sdk-error-3-5003/16654/3 "2020-05-08T17:59:35Z")

</div>

So, according this page:

> **[Error Codes - Resource - Ionic - Hybrid Frameworks Support - Zoom Software...](https://marketplace.zoom.us/docs/sdk/hybrid-frameworks/ionic/resource/error-codes)**
>
> Error Codes
> 
> 
> 
> Contents
> 
> 
> 
> The SDK might return errors in the callbacks or as return values. This list provides a description of possible error codes an...

  
It is a network timeout when calling sdk.initialize(). Does anyone have any idea why this is happening?

I have turned off the firewall.

---

<div class="post-metadata">

**Author:** ![jnbell](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jnbell](https://devforum.zoom.us/u/jnbell)\
**Post date:** [May 11, 2020, 2:37am UTC](https://devforum.zoom.us/t/init-sdk-error-3-5003/16654/4 "2020-05-11T02:37:02Z")

</div>

Sorry, dumb question. turned out to be a problem with the wifi connection on the phone.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 13, 2020, 10:13pm UTC](https://devforum.zoom.us/t/init-sdk-error-3-5003/16654/5 "2020-05-13T22:13:19Z")

</div>

Happy to hear you figured out the issue! 🙂

Let us know if you have additional questions.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:18pm UTC](https://devforum.zoom.us/t/init-sdk-error-3-5003/16654/6 "2020-08-21T21:18:21Z")

</div>


