# SDK Sample 'The signature has expired'

**URL:** <https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107>\
**Category:** Web\
**Created:** [December 17, 2019, 11:14am UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107 "2019-12-17T11:14:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sap](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sap](https://devforum.zoom.us/u/sap)\
**Post date:** [December 17, 2019, 11:14am UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107/1 "2019-12-17T11:14:47Z")

</div>

**Description**  
Getting the following error on ZoomMtg.join()

**Error**

```javascript
{
  status: false,
  errorCode: 200,
  errorMessage: "The signature has expired.",
  result: null
}

```

**Which version?**

- @zoomus/websdk@1.7.0

**To Reproduce**

- Clone [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)
- Install dependencies, add sdk api-key and api-secret and run (running ‘Local’)

**Screenshots**

 ![Screenshot (3)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5293afd4681c578095aea5bb5dc44704df995767.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:** [December 17, 2019, 5:02pm UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107/2 "2019-12-17T17:02:39Z")

</div>

Hey @sap, thanks for posting and using Zoom!

For the API Key and Secret, make sure you are using the [JWT App](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) credentials, not an [SDK App](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-sdk-app).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sap](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sap](https://devforum.zoom.us/u/sap)\
**Post date:** [December 18, 2019, 4:45am UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107/3 "2019-12-18T04:45:18Z")

</div>

With JWT credentials, I’m getting the following response

```javascript
{
  "status": false,
  "errorCode": 200,
  "errorMessage": "Invalid signature.",
  "result": null
}

```

---

<div class="post-metadata">

**Author:** ![sap](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sap](https://devforum.zoom.us/u/sap)\
**Post date:** [December 18, 2019, 4:47am UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107/4 "2019-12-18T04:47:34Z")

</div>

I’m using `@zoomus/websdk`  
I have tried both SDK credentials and JWT credentials

---

<div class="post-metadata">

**Author:** ![sap](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sap](https://devforum.zoom.us/u/sap)\
**Post date:** [December 18, 2019, 5:12am UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107/5 "2019-12-18T05:12:58Z")

</div>

I have read other answers and I figured that if I removed dashes from the meeting id It works

---

<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 18, 2019, 6:16pm UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107/6 "2019-12-18T18:16:20Z")

</div>

Hey @sap,

Yes the meetingID must not have any dashes in it.

Glad you were able to resolve your issue! 🙂

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, 7:08pm UTC](https://devforum.zoom.us/t/sdk-sample-the-signature-has-expired/7107/7 "2020-08-21T19:08:11Z")

</div>

Closed on August 21, 2020, 7:08pm UTC


