# Joining Fail with Error Code 1

**URL:** <https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417>\
**Category:** Web\
**Created:** [October 25, 2019, 5:14am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417 "2019-10-25T05:14:16Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![mohamed.desoky](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mohamed.desoky/32/4034_2.png) [@mohamed.desoky](https://devforum.zoom.us/u/mohamed.desoky)\
**Post date:** [March 24, 2020, 10:18am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/13 "2020-03-24T10:18:20Z")

</div>

Hello @tommy  
iam trying to test zoom sdk using angular i follow your steps in this post

> [@Error in integration zoom API with angular 6](https://devforum.zoom.us/t/error-in-integration-zoom-api-with-angular-6/4830/3):
>
> Hello Tommy greetings, Can you please help me out or guid to integrate zoom for face recognisation in webApp with angular 5. Thank you.

and i get the same error of joining fail  
i use jwt app type credentials  
but i didn’t subscribe for plan i just need to test it first  
my component.ts  
ZoomMtg.setZoomJSLib(‘[https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib](https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib)’, ‘/av’)

ZoomMtg.preLoadWasm();

ZoomMtg.prepareJssdk();

@Component({

selector: ‘app-video-chat’,

templateUrl: ‘./video-chat.component.html’,

styleUrls: [‘./video-chat.component.css’]

})

export class VideoChatComponent implements OnInit {

meetConfig = {

```
apiKey: 'jwt_app_api_key',

apiSecret: 'jwt_app_api_secret',

meetingNumber: 1111111111,

userName: 'Angular',

passWord: "",

leaveUrl: "http://localhost:4200",

role: 0

```

};

signature = ZoomMtg.generateSignature({

```
meetingNumber: this.meetConfig.meetingNumber,

apiKey: this.meetConfig.apiKey,

apiSecret: this.meetConfig.apiSecret,

role: this.meetConfig.role,

success: function(res){

  console.log(res.result);

}

```

});

constructor() {

}

ngOnInit() {

```
ZoomMtg.init({

  leaveUrl: 'http://localhost:4200',

  isSupportAV: true,

  success: (res) => {

    ZoomMtg.join({

      meetingNumber: this.meetConfig.meetingNumber,

      userName: this.meetConfig.userName,

      signature: this.signature,

      apiKey: this.meetConfig.apiKey,

      userEmail: 'myemailaddress',

      passWord: this.meetConfig.passWord,

      success: (res) => {

        console.log('join meeting success');

      },

      error: (res) => {

        console.log(res);

      }

    });

  },

  error: (res) => {

    console.log(res);

  }

});

```

}

also adding jquery url in index.html

---

_[View the full topic](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417)._
