# The signature has expired

**URL:** <https://devforum.zoom.us/t/the-signature-has-expired/13700>\
**Category:** Web\
**Created:** [April 17, 2020, 4:05pm UTC](https://devforum.zoom.us/t/the-signature-has-expired/13700 "2020-04-17T16:05:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![financeiro](https://avatars.discourse-cdn.com/v4/letter/f/3ab097/32.png) [@financeiro](https://devforum.zoom.us/u/financeiro)\
**Post date:** [April 17, 2020, 4:05pm UTC](https://devforum.zoom.us/t/the-signature-has-expired/13700/1 "2020-04-17T16:05:25Z")

</div>

Hi guys  
Could anyone help me, please?

I am getting this error that the signature has expired.

it works where I developed (windows environment) however after that I put it in the test(Linux environment debian 9) don’t work anymore.

I created this meeting for example.  
Below how I am generating the signature:

console.log(‘checkSystemRequirements’); console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

ZoomMtg.preLoadWasm();  
ZoomMtg.prepareJssdk();

const API\_KEY = ‘###########’;  
const API\_SECRET = ‘################’;

```auto
testTool = window.testTool;

document.getElementById('join_meeting').addEventListener('click', (e) => {
    e.preventDefault();

    const meetConfig = {
	    userEmail:'#########',
        apiKey: API_KEY,
        apiSecret: API_SECRET,
        meetingNumber: parseInt(document.getElementById('meeting_number').value, 10),
        userName: document.getElementById('display_name').value,
        passWord: document.getElementById('meeting_pwd').value,
        leaveUrl: 'https://www.meusite.com.br',
        role: parseInt(document.getElementById('meeting_role').value, 10)
    };

    ZoomMtg.generateSignature({
        meetingNumber: meetConfig.meetingNumber,
        apiKey: meetConfig.apiKey,
        apiSecret: meetConfig.apiSecret,
        role: meetConfig.role,
        success(res) {
            console.log('signature', res.result);
            ZoomMtg.init({
                leaveUrl: 'http://www.meusite.com.br',
                success() {
                    ZoomMtg.join(
                        {
						    userEmail:meetConfig.userEmail,
                            meetingNumber: meetConfig.meetingNumber,
                            userName: meetConfig.userName,
                            signature: res.result,
                            apiKey: meetConfig.apiKey,
                            passWord: meetConfig.passWord,
                            success() {
                                $('#nav-tool').hide();
                                console.log('join meeting success');
                            },
                            error(res) {
                                console.log(res);
                            }
                        }
                    );
                },
                error(res) {
                    console.log(res);
                }
            });
        }
    });
});
![image|690x367](upload://iKyK4YdWsg7V6fJUBfGi7oSQXxx.png)
```

---

<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 20, 2020, 4:27pm UTC](https://devforum.zoom.us/t/the-signature-has-expired/13700/3 "2020-04-20T16:27:36Z")

</div>

Hey @financeiro,

Can you double check your time settings on your server?

> [@Join meeting timeout or signature expired](https://devforum.zoom.us/t/join-meeting-timeout-or-signature-expired/8616/14):
>
> Hi @vijayk.kannan, For the signature issue, make sure to use the system time and make sure the time syncs with world time. Generate a signature by ZoomMtg.generateSignature. - Example of syncing your machine time using window 10 [e1b2c451-e93c-4238-b464-ead68f8cca69] Example for using Mac Generate a signature by customer web backend with sync server time. We are currently investigation to see if there is a sync issue on our end as well. We’ll follow up as soon as we’re done lo…

Thanks,  
Tommy
