# Getting error 200 (No Permission) with new Webclient

**URL:** <https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833>\
**Category:** Web\
**Created:** [December 20, 2017, 6:26pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833 "2017-12-20T18:26:54Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre\_Fourgeaud](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pierre_fourgeaud/32/1177_2.png) [@Pierre\_Fourgeaud](https://devforum.zoom.us/u/Pierre_Fourgeaud)\
**Post date:** [December 20, 2017, 6:26pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/1 "2017-12-20T18:26:54Z")

</div>

Hi everyone,

I am trying to use the WebClient but for some reason this is not working…&nbsp;

&nbsp;

I followed&nbsp;the documentation I found here:&nbsp;[https://zoom.github.io/zoom-sdk-web/tutorial-getting-started.html](https://zoom.github.io/zoom-sdk-web/tutorial-getting-started.html)&nbsp;.

I did:

- Ran&nbsp; **npm install**
- Using my own&nbsp; **API Key / API Secret**
- Ran&nbsp; **http-server**
- Created a meeting from the Zoom Client
- Opened the browser on&nbsp; **127.0.0.1:8080**
- Copy pasted the meeting number, added a name, and pressed join.

And in the console I can find this (in the requests tab):

**{status: false, errorCode: 200, errorMessage: “No permission”, result: null, method: “join”}**

What did I do wrong?

_Remark: The request seems to be a get (I thought it should be a post). I use the URL generated (copy-pasted from the requests tab in the console) and past it in the URL field in Chrome, I get a full JSON back._

_Remark 2: I am using the Zoommtg.generateSignature, I didn’t write my own_

&nbsp;

Thanks !

---

<div class="post-metadata">

**Author:** ![Pierre\_Fourgeaud](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pierre_fourgeaud/32/1177_2.png) [@Pierre\_Fourgeaud](https://devforum.zoom.us/u/Pierre_Fourgeaud)\
**Post date:** [January 11, 2018, 1:33pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/2 "2018-01-11T13:33:18Z")

</div>

Anyone ?

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [January 11, 2018, 5:57pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/3 "2018-01-11T17:57:52Z")

</div>

Hi Pierre,

Please make sure you generate the correct&nbsp;Signature before join a meeting.

Best

&nbsp;

---

<div class="post-metadata">

**Author:** ![Pierre\_Fourgeaud](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pierre_fourgeaud/32/1177_2.png) [@Pierre\_Fourgeaud](https://devforum.zoom.us/u/Pierre_Fourgeaud)\
**Post date:** [January 11, 2018, 6:41pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/4 "2018-01-11T18:41:12Z")

</div>

Hi Wei,

&nbsp;

Thank you for your answer.

Here is how I generate my signature:

```
var signature = ZoomMtg.generateSignature({
&nbsp; meetingNumber: meeting\_number,
&nbsp; apiKey: API\_KEY,
&nbsp; apiSecret: API\_SECRET,
&nbsp; role: 0,
&nbsp; success: o =\> {
&nbsp; &nbsp; console.log(o);
&nbsp; },
 });

```

&nbsp;

Do you see anything wrong?

---

<div class="post-metadata">

**Author:** ![Eason\_Liu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eason_liu/32/3429_2.png) [@Eason\_Liu](https://devforum.zoom.us/u/Eason_Liu)\
**Post date:** [January 12, 2018, 6:56am UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/5 "2018-01-12T06:56:01Z")

</div>

Hi Pierre,

Thank you for your feedback.

Can you provide the meeting number and when you joined the meeting via SDK?

We will check this issue.

Thanks!

---

<div class="post-metadata">

**Author:** ![Pierre\_Fourgeaud](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pierre_fourgeaud/32/1177_2.png) [@Pierre\_Fourgeaud](https://devforum.zoom.us/u/Pierre_Fourgeaud)\
**Post date:** [January 12, 2018, 8:03am UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/6 "2018-01-12T08:03:05Z")

</div>

Hi Eason,

Below is a screenshot of a test I just did. You can see that one of the console log contains the exact date printed when I tried and the meeting number associated.

 ![](https://support.zoom.us/hc/user_images/vod0g8iE5SfF3WR-cqTe_Q.png)

Thanks !

---

<div class="post-metadata">

**Author:** ![Pierre\_Fourgeaud](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pierre_fourgeaud/32/1177_2.png) [@Pierre\_Fourgeaud](https://devforum.zoom.us/u/Pierre_Fourgeaud)\
**Post date:** [January 22, 2018, 10:34am UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/7 "2018-01-22T10:34:05Z")

</div>

Hey, any chance to look at it ?

&nbsp;

Thank you,

---

<div class="post-metadata">

**Author:** ![Eason\_Liu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eason_liu/32/3429_2.png) [@Eason\_Liu](https://devforum.zoom.us/u/Eason_Liu)\
**Post date:** [January 23, 2018, 10:14am UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/8 "2018-01-23T10:14:31Z")

</div>

Hi Pierre,

We found that the signature time stamp is invalid, and please change your&nbsp;PC timezone to UTC and try again.

If failed again, please send the screenshot to me. Thanks！

---

<div class="post-metadata">

**Author:** ![Pierre\_Fourgeaud](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pierre_fourgeaud/32/1177_2.png) [@Pierre\_Fourgeaud](https://devforum.zoom.us/u/Pierre_Fourgeaud)\
**Post date:** [January 25, 2018, 11:16am UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/9 "2018-01-25T11:16:36Z")

</div>

Hi Eason,

I have the same issue, screenshot attached:

 ![](https://support.zoom.us/hc/user_images/lRCknXFM9NSfB_tcjbVW3g.png)

---

<div class="post-metadata">

**Author:** ![Pierre\_Fourgeaud](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pierre_fourgeaud/32/1177_2.png) [@Pierre\_Fourgeaud](https://devforum.zoom.us/u/Pierre_Fourgeaud)\
**Post date:** [January 29, 2018, 11:44am UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/10 "2018-01-29T11:44:50Z")

</div>

So is it simply the generateSignature doing something wrong ?

---

<div class="post-metadata">

**Author:** ![Zoom\_Video\_Communica](https://avatars.discourse-cdn.com/v4/letter/z/8baadc/32.png) [@Zoom\_Video\_Communica](https://devforum.zoom.us/u/Zoom_Video_Communica)\
**Post date:** [January 30, 2018, 1:39pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/11 "2018-01-30T13:39:04Z")

</div>

Hi Pierre,

Sorry for late reply.

Actually, it’s really caused by wrong signature and time stamp is invalid. Strangely, others has no this issue with the same method.

We recommend that you use the following method in GitHub firstly，

_[https://zoom.github.io/zoom-sdk-web/tutorial-signature.html](https://zoom.github.io/zoom-sdk-web/tutorial-signature.html)_

Now we haven’t publish the js method and maybe it still has some problems.

Then we will have a double check and fix it ASAP.

Thanks!

---

<div class="post-metadata">

**Author:** ![wagish.sharma](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wagish.sharma](https://devforum.zoom.us/u/wagish.sharma)\
**Post date:** [February 28, 2019, 1:48pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/12 "2019-02-28T13:48:57Z")

</div>

hi,  
This issue is still there.  
I am using the code from ‘[https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)’ to test the web-SDK.  
When I try to join a meeting I am getting the error “The signature has expired.”

Operating System: Windows 10  
Browser: Chrome Version 72.0.3626.119

---

<div class="post-metadata">

**Author:** ![azaz.nuces](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/azaz.nuces/32/4531_2.png) [@azaz.nuces](https://devforum.zoom.us/u/azaz.nuces)\
**Post date:** [April 1, 2020, 10:35pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/13 "2020-04-01T22:35:24Z")

</div>

Hi @wagish.sharma long story short, it has to do with the time() function used in the signature generation code, you’ll have to make sure it matches your browser time, you can try changing the mili seconds getting subtracted out of time() function i.e 30000. In my case (Pakistan timezone) this code worked (for generateSignature in PHP).

$time = time() \* 1000 - 60000;

---

<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:** [April 1, 2020, 11:08pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/14 "2020-04-01T23:08:49Z")

</div>

Hi @azaz.nuces,

Thanks for following up and yes you would need to subtrack the time in milliseconds, please see our updated signature sample code here[1].

1 - [https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature)

Thanks

---

<div class="post-metadata">

**Author:** ![cinemed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cinemed/32/8070_2.png) [@cinemed](https://devforum.zoom.us/u/cinemed)\
**Post date:** [May 20, 2020, 2:48pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/15 "2020-05-20T14:48:11Z")

</div>

@azaz.nuces what do you mean “matches your browser time”? The server is generating the signature based on UTC, what’s the user’s browser timezone have to do with it since they don’t have access to modify the signature? I’m guessing you did not mean to say browser time.

---

<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 26, 2020, 6:14pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/16 "2020-05-26T18:14:06Z")

</div>

Hey @cinemed,

What possibly happened, or what happens to developers using the [sample app to create the Web SDK signature](https://github.com/zoom/sample-app-web/blob/master/CDN/js/index.js#L65) is they are [creating the signature locally / client side](https://github.com/zoom/sample-app-web/blob/master/CDN/js/index.js#L17) on their own machine which is in a certain timezone.

They need to [generate the signature server side](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature) which like you said should be UTC.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gonzalesramme123](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@gonzalesramme123](https://devforum.zoom.us/u/gonzalesramme123)\
**Post date:** [August 6, 2020, 4:34pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/17 "2020-08-06T16:34:13Z")

</div>

me too how do i fix this

---

<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:** [August 7, 2020, 6:26pm UTC](https://devforum.zoom.us/t/getting-error-200-no-permission-with-new-webclient/833/18 "2020-08-07T18:26:52Z")

</div>

Hey @gonzalesramme123,

Please create a new topic and fill out the post template so we have enough info to help. 🙂

Thanks,  
Tommy
