# Sample Web App not working Locally failed with Error Code 1

**URL:** <https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962>\
**Category:** Web\
**Created:** [March 28, 2020, 8:55am UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962 "2020-03-28T08:55:43Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul.champ01](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rahul.champ01/32/4365_2.png) [@rahul.champ01](https://devforum.zoom.us/u/rahul.champ01)\
**Post date:** [March 28, 2020, 8:55am UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/1 "2020-03-28T08:55:43Z")

</div>

After Running the Sample Web App by Generating the Key From Dev account also generating the Signature, The App says fails to connect timeout.

ZoomMtg.join(  
{  
meetingNumber: meetConfig.meetingNumber,  
userName: meetConfig.userName,  
signature: res.result, // added the generated signature here too as mentioned in the docs  
apiKey: meetConfig.apiKey,  
userEmail: ‘email@gmail.com’,  
passWord: meetConfig.passWord,

What am i missing

Getting this error

1. {method: “join”, status: false, errorCode: 1, errorMessage: “joining fail”, result: null}

2. method: “join”

3. status: false

4. errorCode: 1

5. errorMessage: “joining fail”

6. result: null

---

<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 30, 2020, 5:49pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/2 "2020-03-30T17:49:33Z")

</div>

Hey @rahul.champ01, , thanks for posting and using Zoom!

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

Also make sure you are using a valid meeting number with no dashes.

Duplicate post:

> [@Join method failing - account question](https://devforum.zoom.us/t/join-method-failing-account-question/7174/2):
>
> Hey @matthew1, thanks for posting and using Zoom! Are you using a [JWT App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) for the key and secret credentials? Also make sure you are using a valid meeting number with no dashes. Thanks, Tommy

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rahul.champ01](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rahul.champ01/32/4365_2.png) [@rahul.champ01](https://devforum.zoom.us/u/rahul.champ01)\
**Post date:** [March 31, 2020, 5:59pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/3 "2020-03-31T17:59:50Z")

</div>

Hi @tommy  
Yes i created a valid meeting id and used the App secret and App ID, but i found a post where its mentioned that using the web sdk requires a PRO account, also i had requested a trial at [isv@zoom.us](mailto:isv@zoom.us) but currently i didn’t get a response. Is a Trail or pro account need to use this web sdk for meeting and webinar

---

<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 31, 2020, 7:50pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/4 "2020-03-31T19:50:29Z")

</div>

Hey @rahul.champ01,

Yes, that could be the issue. Try [upgrading to pro](https://zoom.us/pricing) and try again. Sorry if [isv@zoom.us](mailto:isv@zoom.us) hasn’t gotten back to you with the free trial, they are very busy with requests.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![devteam1](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@devteam1](https://devforum.zoom.us/u/devteam1)\
**Post date:** [April 12, 2020, 6:48am UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/5 "2020-04-12T06:48:53Z")

</div>

Hi @tommy,

I am also getting the same errorCode = 1.  
{“method”:“join”,“status”:false,“result”:null,“errorCode”:1}  
Am using sample web app, CDN version 1.7.5 and replaced with real API\_KEY & API\_SECRET.

---

<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:** [April 13, 2020, 10:44pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/6 "2020-04-13T22:44:43Z")

</div>

Hey @devteam1,

Are you using a real meeting number without dashes?

Also make sure you are using [JWT Api key and secret.](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![devteam1](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@devteam1](https://devforum.zoom.us/u/devteam1)\
**Post date:** [April 16, 2020, 2:34pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/7 "2020-04-16T14:34:46Z")

</div>

Yes tommy. I was using the real info.  
One thing i would like to bring to your notice that, i didn’t submitted any billing information.  
Do you think, this might be causing the issue.

Thanks

---

<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:** [April 16, 2020, 8:47pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/8 "2020-04-16T20:47:11Z")

</div>

Hey @devteam1,

Can you email [developersupport@zoom.us](mailto:developersupport@zoom.us) with your JWT Key / Secret and account number so we can assist further?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![andy\_u](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@andy\_u](https://devforum.zoom.us/u/andy_u)\
**Post date:** [May 15, 2020, 12:10pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/9 "2020-05-15T12:10:16Z")

</div>

Same issue here.

Testing the Sample Web App CDN version 1.7.7 using JWT key/secret and correct meeting id with no dashes or spaces. Have a pro account. Getting error “Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again.” In console, it returns: {method: “join”, status: false, result: null, errorMessage: undefined, errorCode: 1}

I have tested this in Chrome Version 81.0.4044.138 (Official Build) (64-bit) and it returns the error above.

When I test it in Firefox 73.0, it connects to the meeting and works just fine (no computer audio though as that is not supported in FF).

Not sure what is causing the issue in Chrome, but would really appreciate some help on it.

Thank you,

Andy

 ![Inkedzoom_web_app_cdn_issue_LI](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/4cc9c20e5d29fd1bfd5726ad5f054ad464b01835.jpeg)

---

<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:** [May 19, 2020, 9:07pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/10 "2020-05-19T21:07:30Z")

</div>

Hey @andy_u,

Please see my post here:

> [@V1.7.4 Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again](https://devforum.zoom.us/t/v1-7-4-your-connection-has-timed-out-and-you-cannot-join-the-meeting-verify-your-network-connectivity-and-try-again/12114/40):
>
> Hey @sumit.cha20, Here are a few things to make sure of: Make sure you have a [Pro or higher Account](https://zoom.us/pricing). Make sure you are using a [JWT App type for the key and secret](https://marketplace.zoom.us/docs/guides/build/jwt-app). Make sure you are using a real live meeting ID. If those 3 things did not work, please email your [Web SDK signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature) to [developersupport@zoom.us](mailto:developersupport@zoom.us). Thanks, Tommy

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:25pm UTC](https://devforum.zoom.us/t/sample-web-app-not-working-locally-failed-with-error-code-1/9962/11 "2020-08-21T21:25:33Z")

</div>


