# ZoomMtg.join() returns "The signature has expired."

**URL:** <https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763>\
**Category:** Web\
**Created:** [September 26, 2018, 2:10pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763 "2018-09-26T14:10:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iain\_M\_Norman](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@Iain\_M\_Norman](https://devforum.zoom.us/u/Iain_M_Norman)\
**Post date:** [September 26, 2018, 2:10pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/1 "2018-09-26T14:10:18Z")

</div>

Hi,

I’m testing out the sample-app-web js app from github.

I have ZoomMtg.generateSignature() returning a signature okay.

ZoomMtg.init() is&nbsp;getting to the success function okay.

But ZoomMtg.join() is resulting in an error:

{method: “join”, status: false, errorCode: 1, errorMessage: “The signature has expired.”, result: null}&nbsp;

Anyone any ideas.

Ta.

I

---

<div class="post-metadata">

**Author:** ![Iain\_M\_Norman](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@Iain\_M\_Norman](https://devforum.zoom.us/u/Iain_M_Norman)\
**Post date:** [September 27, 2018, 9:21am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/2 "2018-09-27T09:21:09Z")

</div>

So I decided to step through in chrome’s debugger to see what was happening inside and all of a sudden no error and the meeting starts.

Go back to not debugging and the same error again.

So suspecting a race condition I wrapped ZoomMtg.join() in a setTimeout with 5000ms.

Works fine then.

That was yesterday.

Today I’ve removed the timeout and have no problems at all.

If there is a race condition happening somewhere then it’s not happening today. ☹ But I fear it could return at some later point.

Anyone experienced this with the sample app?

&nbsp;

---

<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:** [September 27, 2018, 4:46pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/3 "2018-09-27T16:46:55Z")

</div>

Hi&nbsp;Iain,&nbsp;

Looks like there is a bug within our sample web app, what OS does your computer have?

Thanks

---

<div class="post-metadata">

**Author:** ![Iain\_M\_Norman](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@Iain\_M\_Norman](https://devforum.zoom.us/u/Iain_M_Norman)\
**Post date:** [October 1, 2018, 8:44am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/4 "2018-10-01T08:44:32Z")

</div>

Hi Michael,

I’m running:

Windows 10 Enterprise - 1803 - 17134.286  
Node - v9.4.0  
Chrome -&nbsp;69.0.3497.100

---

<div class="post-metadata">

**Author:** ![KB1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kb1/32/2334_2.png) [@KB1](https://devforum.zoom.us/u/KB1)\
**Post date:** [October 1, 2018, 12:51pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/5 "2018-10-01T12:51:09Z")

</div>

SAME ERROR

errorCode:&nbsp;200  
errorMessage:&nbsp;“The signature has expired.”

---

<div class="post-metadata">

**Author:** ![Iain\_M\_Norman](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@Iain\_M\_Norman](https://devforum.zoom.us/u/Iain_M_Norman)\
**Post date:** [October 1, 2018, 2:12pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/6 "2018-10-01T14:12:33Z")

</div>

Interesting KB. So it’s still happening, for you at least.

I’m no longer seeing the “Signature expired” error myself.

Let me try throttling my bandwidth maybe?

…

Nope still can’t get it to happen. Even when connecting before the three wasm modules are preloaded.

I’m not sure what’s changed between when I did get it and not.

I was using an different account and api key/secret before, let me switch back to that.

…

Nope. Still working. Hard for the guys to fix if we can’t replicate it.

…

There’s two change’s I’ve made to the sample app:

Adding an error handler to join.

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/b0286c4bef5b43b5c597da22a554ccafc3f4e894.png)

And setting role to not be host (0), as I was hosting with a different account for testing purposes.

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/88b80d7785b494f999e3a3373ef4130a8f490d88.png)

&nbsp;

---

<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:** [October 1, 2018, 4:17pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/7 "2018-10-01T16:17:57Z")

</div>

Hi Iain,&nbsp;

Thanks for providing us the details. Looks like there is a bug within Chrome for Windows that you have to use a set timeout. We have alerted our developers about this so we can fix this asap.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![KB1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kb1/32/2334_2.png) [@KB1](https://devforum.zoom.us/u/KB1)\
**Post date:** [October 2, 2018, 6:50am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/8 "2018-10-02T06:50:42Z")

</div>

![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/8f39ecd4aafeffbb63d9177f49ab0b30741ab644.png)

@Iain M Norman After error handling and role 0 still same error and @Michael Purnell I have used setTimeout but that also not useful.&nbsp; As per chatting with support they said this is due to trial license but I think then error should be different.

---

<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:** [October 2, 2018, 4:09pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/9 "2018-10-02T16:09:41Z")

</div>

Hi KB,&nbsp;

Can you try this to see if this resolves your issue? Within the Chrome inspector, set a breakpoint where ZoomMtg.join meeting is. When you click the Join button, wait for about 5 seconds then resume. Also, I’m assuming you are working on Windows correct?

&nbsp;

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/a0480535cfc5e720ed7f869fc64f6b706bc582d1.png)

---

<div class="post-metadata">

**Author:** ![Iain\_M\_Norman1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iain_m_norman1/32/369_2.png) [@Iain\_M\_Norman1](https://devforum.zoom.us/u/Iain_M_Norman1)\
**Post date:** [October 3, 2018, 9:47am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/10 "2018-10-03T09:47:57Z")

</div>

I’ve removed my setTimeout workaround and am no longer getting the original problem.

---

<div class="post-metadata">

**Author:** ![TesterName\_TesterFam](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@TesterName\_TesterFam](https://devforum.zoom.us/u/TesterName_TesterFam)\
**Post date:** [November 5, 2018, 1:24pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/11 "2018-11-05T13:24:24Z")

</div>

The same issue, on Mac (Chrome & Safari) & Win 10

---

<div class="post-metadata">

**Author:** ![Iain\_M\_Norman1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iain_m_norman1/32/369_2.png) [@Iain\_M\_Norman1](https://devforum.zoom.us/u/Iain_M_Norman1)\
**Post date:** [November 6, 2018, 8:52am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/12 "2018-11-06T08:52:55Z")

</div>

Some more info.

I only had this problem when I had a free dev account. I’ve taken out my workaround and have not been able to replicate since my client gave&nbsp;made me a dev on their business account.

---

<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:** [March 1, 2019, 10:21am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/13 "2019-03-01T10:21:59Z")

</div>

> [@Iain\_M\_Norman](#):
>
> But ZoomMtg.join() is resulting in an error:
> 
> {method: “join”, status: false, errorCode: 1, errorMessage: “The signature has expired.”, result: null}

I am facing the same error,  
Is there any workaround?

EDIT:  
In Ubuntu, it’s working fine  
No idea what the actual issue is.  
I am attaching the image as a reference.

OS: Windows 10.  
Browser: Chrome Version 72.0.3626.119  
Error: ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/e5a5ff814ee9d21ac28100afe7778b62e370e4c1.png)

* * *

OS: Ubuntu 16.04  
Browser: Chrome Version 67.0.3396.62 (Official Build) (64-bit)  
Working fine.

* * *

Steps:  
cloned the repo.  
changed api key and secret  
cd CDN  
npm install  
npm start  
entered the meeting id and name

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [March 4, 2019, 5:11am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/14 "2019-03-04T05:11:38Z")

</div>

you use the jssdk 1.3.0 version. please update last version.

---

<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:** [March 6, 2019, 1:30pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/15 "2019-03-06T13:30:00Z")

</div>

hi, I didn’t change the version but somehow it’s working now in windows too.  
Thanks

---

<div class="post-metadata">

**Author:** ![magh92](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/magh92/32/1171_2.png) [@magh92](https://devforum.zoom.us/u/magh92)\
**Post date:** [June 28, 2019, 4:01pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/16 "2019-06-28T16:01:10Z")

</div>

Hi,I made that and work for me but the question is, how can I integer the setTimeOut in my code? or what I have to do for solve it?

---

<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:** [June 28, 2019, 11:30pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/17 "2019-06-28T23:30:12Z")

</div>

Hi @magh92,

We have received your request and will update you shortly.

Thanks

---

<div class="post-metadata">

**Author:** ![carloskekwa](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@carloskekwa](https://devforum.zoom.us/u/carloskekwa)\
**Post date:** [April 20, 2020, 9:40am UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/18 "2020-04-20T09:40:06Z")

</div>

Hello any update on this concern?

---

<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 20, 2020, 10:12pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/19 "2020-04-20T22:12:16Z")

</div>

Hi @carloskekwa,

Are you using the sample web app to generate your signature or are you generating a signature from the backend? Are make sure to not use your PMI when joining a meeting as an attendee.

Thanks

---

<div class="post-metadata">

**Author:** ![r.abdelhamed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/r.abdelhamed/32/6835_2.png) [@r.abdelhamed](https://devforum.zoom.us/u/r.abdelhamed)\
**Post date:** [April 23, 2020, 3:25pm UTC](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763/20 "2020-04-23T15:25:24Z")

</div>

Hello any update ?  
I use the sample web app to generate the signature and my os is macOS and i still have the same issues

 ![Screen Shot 2020-04-23 at 6.05.37 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/64361f9a28aab0e697f2c5df7961b5534fafd3d7.png)

[Next page](https://devforum.zoom.us/t/zoommtg-join-returns-the-signature-has-expired/1763.md?page=2)
