Dynamic API and SECRET KEY in Ionic app

We are developing an application in ionic that the api key and secret key are dynamic.

We want to initialize the Zoom SDK in a view, but we receive this error:

[Error]: Failed due to illegal SDK Key or Secret.

I use this keys in web sdk and work perfect.

I use the next code.

  activeZoom(idmeeting, password) {
    console.log('api_key', this.api_key)
    console.log('secret_key', this.secret_key)
    this.zoomService.initialize(this.api_key, this.secret_key)
  .then((success: any) => this.joinMeeting(idmeeting, password))
  .catch((error: any) => console.log(error));

We use Ionic 5, angular 9 and the latest Zoom SDK

Thanks for your help.

Hi fitcloud,

Thanks for using Zoom SDK. The Ionic SDK is based on Android SDK and iOS SDK so it is expecting an SDK key&secret rather than API key & secret. Please have a try with the SDK key & secret.


This is the problem thanks for the help.

Glad to be helpful. Happy Zooming! :slight_smile: