# Meeting sdk not work

**URL:** <https://devforum.zoom.us/t/meeting-sdk-not-work/107070>\
**Category:** Web\
**Created:** [April 3, 2024, 7:16am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070 "2024-04-03T07:16:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajaj.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajaj.chipsoft/32/58020_2.png) [@ajaj.chipsoft](https://devforum.zoom.us/u/ajaj.chipsoft)\
**Post date:** [April 3, 2024, 7:16am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/1 "2024-04-03T07:16:23Z")

</div>

import { Component, OnInit,AfterContentInit , Inject, NgZone } from ‘@angular/core’;  
//import { ZoomMtg } from ‘@zoomus/websdk’;

@Component({  
selector: ‘app-root’,  
templateUrl: ‘./app.component.html’,  
styleUrls: [‘./app.component.css’]  
})  
export class AppComponent implements OnInit , AfterContentInit {

ngOnInit(): void {  
//throw new Error(‘Method not implemented.’);  
}

async ngAfterContentInit():Promise {

const {ZoomMtg} = await import (‘@zoomus/websdk’);  
ZoomMtg.setZoomJSLib(‘[https://source.zoom.us/2.17.0/lib/av/video.simd.wasm](https://source.zoom.us/2.17.0/lib/av/video.simd.wasm)’);

ZoomMtg.preLoadWasm();  
ZoomMtg.prepareWebSDK();  
let payload = {  
sdkKey: ‘Y2XRKN1D51JM7dl6GD4sE0ykczuB7gatmFUz’,  
meetingNumber: ‘2419445022’,  
passWord: ‘fm5v7z’,  
role: ‘0’,  
userName: ‘Ajaj Ahmed’,  
sdkSecret:‘HgjQlFW91D0y5m1to7pVblnW66uV0oDq4SPw’,  
userEmail: ‘ragini.lal@chipsoftindia.com’,  
leaveUrl: ‘[http://localhost:4200](http://localhost:4200)’  
}

```
ZoomMtg.generateSDKSignature({
  meetingNumber:payload.meetingNumber,
  role:payload.role,
  sdkKey:payload.sdkKey,
  sdkSecret:payload.sdkSecret, 
  success:function(signature:any)
  {
    ZoomMtg.init({
      leaveUrl: payload.leaveUrl,
      success: function (_data:any)
      {
      ZoomMtg.join({
        meetingNumber: payload.meetingNumber,
        passWord: payload.passWord,
        sdkKey: payload.sdkKey,
        userName: payload.userName,
        userEmail: payload.userEmail,
        signature: signature.result,
        tk:'',
        success: function (data:any) {
          console.log(data)
        },
        error:function(error:any){
          console.log('----Error join----',error)
        }
        })
       
      },
      error:function(error:any){
        console.log('----Error Init----',error)
       }
    })
  },
  error:function(error:any){
    console.log(error);
  }
})

```

}  
}

**Note :- Please tell why this code is not working.**

---

<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 9, 2024, 2:17am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/2 "2024-04-09T02:17:37Z")

</div>

@ajaj.chipsoft can you try out the angular sample here?

> **[GitHub - zoom/meetingsdk-angular-sample: Use the Zoom Meeting SDK in Angular](https://github.com/zoom/meetingsdk-angular-sample)**
>
> Use the Zoom Meeting SDK in Angular. Contribute to zoom/meetingsdk-angular-sample development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ajaj.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajaj.chipsoft/32/58020_2.png) [@ajaj.chipsoft](https://devforum.zoom.us/u/ajaj.chipsoft)\
**Post date:** [April 9, 2024, 5:19am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/3 "2024-04-09T05:19:54Z")

</div>

authEndpoint = ‘’  
registrantToken = ‘’  
zakToken = ‘’

I can’t find this token, can you please tell me?

document.getElementById(‘zmmtg-root’).style.display = ‘block’

not work angular typescript

---

<div class="post-metadata">

**Author:** ![ajaj.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajaj.chipsoft/32/58020_2.png) [@ajaj.chipsoft](https://devforum.zoom.us/u/ajaj.chipsoft)\
**Post date:** [April 9, 2024, 5:55am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/4 "2024-04-09T05:55:38Z")

</div>

@chunsiong.zoom I tried it first but it didn’t work.

> **[GitHub - zoom/meetingsdk-angular-sample: Use the Zoom Meeting SDK in Angular](https://github.com/zoom/meetingsdk-angular-sample)**
>
> Use the Zoom Meeting SDK in Angular. Contribute to zoom/meetingsdk-angular-sample development by creating an account on GitHub.

---

<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 9, 2024, 6:08am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/5 "2024-04-09T06:08:01Z")

</div>

@ajaj.chipsoft

You will need to generate a signature using your Sdk Key and Sdk Secret

This is a sample which creates a web service, and you can point authEndpoint at it

> **[GitHub - zoom/meetingsdk-auth-endpoint-sample: Generate a Meeting SDK JWT to...](https://github.com/zoom/meetingsdk-auth-endpoint-sample)**
>
> Generate a Meeting SDK JWT to join Zoom meetings and webinars with the Meeting SDK. - zoom/meetingsdk-auth-endpoint-sample

---

<div class="post-metadata">

**Author:** ![ajaj.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajaj.chipsoft/32/58020_2.png) [@ajaj.chipsoft](https://devforum.zoom.us/u/ajaj.chipsoft)\
**Post date:** [April 9, 2024, 6:34am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/6 "2024-04-09T06:34:06Z")

</div>

@chunsiong.zoom

I have also tried adding sdk key & sdk secret key, still not working.

I have tried this process but no solution has been found.

**Please give reference of any such project which can run zoom meeting.**

---

<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 9, 2024, 6:36am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/7 "2024-04-09T06:36:47Z")

</div>

@ajaj.chipsoft ,

When you create your app on [marketplace.zoom.us](http://marketplace.zoom.us), did you enable the Meeting SDK Toggle Button under General App, Embed Tab?

---

<div class="post-metadata">

**Author:** ![ajaj.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajaj.chipsoft/32/58020_2.png) [@ajaj.chipsoft](https://devforum.zoom.us/u/ajaj.chipsoft)\
**Post date:** [April 9, 2024, 6:49am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/8 "2024-04-09T06:49:40Z")

</div>

@chunsiong.zoom

I created a new project of angular and installed @zoom/meetingsdk in it and after that created an account by going to [https://marketplace.zoom.us/](https://marketplace.zoom.us/) and extracted its sdk key and sdk secret and used it in my project.

---

<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 9, 2024, 6:50am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/9 "2024-04-09T06:50:55Z")

</div>

@ajaj.chipsoft could you elaborate what application did you create on [marketplace.zoom.us](http://marketplace.zoom.us)?

---

<div class="post-metadata">

**Author:** ![ajaj.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajaj.chipsoft/32/58020_2.png) [@ajaj.chipsoft](https://devforum.zoom.us/u/ajaj.chipsoft)\
**Post date:** [April 9, 2024, 6:54am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/10 "2024-04-09T06:54:40Z")

</div>

@chunsiong.zoom

Created a meeting sdk account inside the build legacy app.

---

<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 9, 2024, 3:01pm UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/11 "2024-04-09T15:01:12Z")

</div>

@ajaj.chipsoft I’ve just tested the key, and it works fine.

Are you able to capture a log for me on the web?

On the browser console, network tab, look for the request to something like info?MeetingNumber…

Under the response, there is x-zm-trackingID. Could you paste those value in text over here?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/5/6550220b55bcc5c2fe66ea3d69c58368832f6b38.png)

---

<div class="post-metadata">

**Author:** ![ajaj.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ajaj.chipsoft/32/58020_2.png) [@ajaj.chipsoft](https://devforum.zoom.us/u/ajaj.chipsoft)\
**Post date:** [April 10, 2024, 9:58am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/12 "2024-04-10T09:58:55Z")

</div>

@chunsiong.zoom  
No, I am not able to see this option.

---

<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 11, 2024, 4:03am UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/13 "2024-04-11T04:03:57Z")

</div>

@ajaj.chipsoft which part are you not able to see?

1. Developer Console
2. Network tab
3. Request to info?MeetingNumber…
4. Response headers

---

<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:** [May 11, 2024, 2:04pm UTC](https://devforum.zoom.us/t/meeting-sdk-not-work/107070/14 "2024-05-11T14:04:29Z")

</div>

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