Init SDK error 3, 5003

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” by putting a breakpoint in the initSDK function of InitAuthSDKHelper.java

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

Thank, John

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.

So, according this page:


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

I have turned off the firewall.

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

1 Like

Happy to hear you figured out the issue! :slight_smile:

Let us know if you have additional questions.

Thanks,
Tommy