# 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:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdulumar.khan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulumar.khan/32/2190_2.png) [@abdulumar.khan](https://devforum.zoom.us/u/abdulumar.khan)\
**Post date:** [October 25, 2019, 5:14am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/1 "2019-10-25T05:14:16Z")

</div>

Joining Fail as follows, followed the steps given at url [https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/integrate-the-sdk](https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/integrate-the-sdk) & getting following thing

**{method: “join”, status: false, errorCode: 1, errorMessage: “The account don’t enable API.”, result: null}**

Have zoom account as Basic, JWT created, & using api key & secret in index.js file.

 ![WebSDK](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/269edbafce3fa1c2b01168c38908e1ced10d8d95.jpeg)

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [October 25, 2019, 8:16pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/2 "2019-10-25T20:16:46Z")

</div>

Hi @abdulumar.khan,

Welcome to the Zoom Developer Community.

Thank you for reaching out to Zoom Developer Support.

Please make sure that within your Zoom portal under Role management -\> Role Settings -\> **Zoom for Developers** are selected and have that members for your account have that as a role.

**Role Management**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/34da9aa21e179e27db416e8e38fb91ed41de6fcc.png)

**Zoom For Developers**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/aaa4f8b5b03a9d84755563eb8cf8ad71f094841c.png)

Also, you need to make sure that you have an account with [Pro or an above plan](https://zoom.us/pricing) or a Free Trial.

Our Free trials are handled by the ISV team. You can contact them at [isv@zoom.us](mailto:isv@zoom.us).

Thanks,  
Ojus

---

<div class="post-metadata">

**Author:** ![consultaredev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/consultaredev/32/2560_2.png) [@consultaredev](https://devforum.zoom.us/u/consultaredev)\
**Post date:** [December 9, 2019, 3:50am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/3 "2019-12-09T03:50:32Z")

</div>

Hi @ojus.zoom,

I am getting the same error with a Pro account. Is it possible that it takes some time for changes to propagate?

 ![Screen Shot 2019-12-08 at 7.57.23 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/cc146a9884f432b46ca01f32bb0620181dc2be7d.png)

Thanks,  
Sam

---

<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:** [December 9, 2019, 5:05pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/4 "2019-12-09T17:05:11Z")

</div>

Hey @consultaredev, thanks for posting and using Zoom!

Can you please provide the error message in the browser console?

Also make sure you are trying to join a valid meeting id.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![consultaredev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/consultaredev/32/2560_2.png) [@consultaredev](https://devforum.zoom.us/u/consultaredev)\
**Post date:** [December 9, 2019, 6:32pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/5 "2019-12-09T18:32:40Z")

</div>

Hey @tommy,

Thanks! I realized that using a “random” meeting ID may be the issue, but I also tried joining a meeting that I created through [zoom.us](http://zoom.us)… I still may be needing to create a meeting through the API, which may need to be done server side?

I am getting this error

 ![Screen Shot 2019-12-08 at 7.57.32 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7769de8b83ebbf83286b7d6181e118e28b1beb4a.png)

Thanks,  
Sam

---

<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:** [December 9, 2019, 8:43pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/6 "2019-12-09T20:43:35Z")

</div>

Hey @consultaredev,

You should be able to create the meeting on the Zoom Web Portal or the API.

Are you using [JWT App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) credentials for the Api key and secret?

Also if you could share your code, I can help debug further.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![consultaredev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/consultaredev/32/2560_2.png) [@consultaredev](https://devforum.zoom.us/u/consultaredev)\
**Post date:** [December 9, 2019, 9:26pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/7 "2019-12-09T21:26:38Z")

</div>

Hi @tommy,

Switched to using JWT Credentials and implemented this line:

```auto
ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib', '/av')

```

Success!!

Thanks,  
Sam

---

<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:** [December 9, 2019, 9:27pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/8 "2019-12-09T21:27:44Z")

</div>

Hey @consultaredev,

Happy to hear it’s working now! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![aivazian.var](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aivazian.var/32/3811_2.png) [@aivazian.var](https://devforum.zoom.us/u/aivazian.var)\
**Post date:** [March 19, 2020, 10:48pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/9 "2020-03-19T22:48:22Z")

</div>

Hi,  
Thank You for good services  
I have the same problem.

Now I do not see a plan for free trial testing. (Maybe this is old information?)  
I want to know if I can use the web SDK with the Basic or Education test plan?  
I tested on [App Web](https://github.com/zoom/sample-app-web)  
I would like to test before paying.

---

<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:** [March 19, 2020, 11:50pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/10 "2020-03-19T23:50:19Z")

</div>

Hey @aivazian.var, thanks for posting and using Zoom!

You can request a free trail here: [isv@zoom.us](mailto:isv@zoom.us) to test the web sdk.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![aivazian.var](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aivazian.var/32/3811_2.png) [@aivazian.var](https://devforum.zoom.us/u/aivazian.var)\
**Post date:** [March 20, 2020, 12:59pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/11 "2020-03-20T12:59:40Z")

</div>

Thanks for the response  
Does web SDK works in case of Education test plan?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [March 20, 2020, 5:05pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/12 "2020-03-20T17:05:12Z")

</div>

Hi @aivazian.var,

Yes the WebSDK works for Education plans.

Thanks

---

<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

---

<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:** [March 24, 2020, 6:46pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/14 "2020-03-24T18:46:02Z")

</div>

Hey @mohamed.desoky,

Checkout the Zoom Angular Web SDK sample app:

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

You will need a [Pro or above plan](https://zoom.us/pricing) to make it work. You can request a free trial here: [isv@zoom.us](mailto:isv@zoom.us)

Thanks,  
Tommy

---

<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, 6:57pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/15 "2020-03-24T18:57:09Z")

</div>

thanks @tommy for your response  
i get my point and the problem is i need to add real meeting id  
and from this i found that i need to initiate meeting first and other join it from  
Angular app is their exist any way to make meeting initiated from angular app and other users in this app join this meeting scenario will be like  
user click button in angular open meeting and other user in the other side click button join this meeting i didn’t need to invite as after searching i found that their is no end point for invitation i just need both users click button on the same time and join meeting

---

<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:** [March 24, 2020, 9:47pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/16 "2020-03-24T21:47:16Z")

</div>

Hey @mohamed.desoky,

Are you saying you are wanting to [create the meeting programmatically](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) before joining it with the Web SDK?

You could also just use an [instant meeting number](https://support.zoom.us/hc/en-us/articles/201362533-Meet-Now-vs-Scheduled-Meetings#h_072b7fb8-5135-4069-b11f-3409ac2616fa) in the Angular Web SDK so that you don’t have to create a meeting everytime.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![vikasphp.shinedezign](https://avatars.discourse-cdn.com/v4/letter/v/ea5d25/32.png) [@vikasphp.shinedezign](https://devforum.zoom.us/u/vikasphp.shinedezign)\
**Post date:** [March 25, 2020, 6:36am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/17 "2020-03-25T06:36:40Z")

</div>

i m facing below error:  
{method: “join”, status: false, errorCode: 1, errorMessage: “joining fail”, result: null}

react-dom.min.js:17 Uncaught TypeError: f.e.close is not a function  
at zoom-meeting-1.7.2.min.js:2  
at redux-thunk.min.js:1  
at dispatch (redux.min.js:1)  
at zoom-meeting-1.7.2.min.js:2  
at redux-thunk.min.js:1  
at redux.min.js:1  
at onCancel (zoom-meeting-1.7.2.min.js:2)  
at k (zoom-meeting-1.7.2.min.js:2)  
at \_ (zoom-meeting-1.7.2.min.js:2)  
at Object.sh (react-dom.min.js:164)

please help me to fix this issue  
note: i m using JWT api keys

---

<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:** [March 25, 2020, 7:46pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/18 "2020-03-25T19:46:35Z")

</div>

Hey @vikasphp.shinedezign, thanks for posting and using Zoom!

Please make sure you are using [JWT App credentials](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) for your API Key and Secret, and that you are joining a real meeting number.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![vikasphp.shinedezign](https://avatars.discourse-cdn.com/v4/letter/v/ea5d25/32.png) [@vikasphp.shinedezign](https://devforum.zoom.us/u/vikasphp.shinedezign)\
**Post date:** [March 26, 2020, 4:09am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/19 "2020-03-26T04:09:57Z")

</div>

Hi sir,

JWT app credentials… I cross-checked them and also I have purchased the pro plan too.

can you provide me working js code if possible?

Thanks & Regards

---

<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:** [March 26, 2020, 7:01am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417/20 "2020-03-26T07:01:01Z")

</div>

Hey @vikasphp.shinedezign,

What is the meeting ID you are using?

You can see working JS code here:

> **[zoom/sample-app-web](https://github.com/zoom/sample-app-web)**
>
> Zoom Web SDK Sample App. Contribute to zoom/sample-app-web development by creating an account on GitHub.

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

Thanks,  
Tommy

[Next page](https://devforum.zoom.us/t/joining-fail-with-error-code-1/6417.md?page=2)
