# Signature is Invalid (error code 3712) using sample Web App

**URL:** <https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957>\
**Category:** Meeting SDK\
**Created:** [July 18, 2024, 6:24pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957 "2024-07-18T18:24:11Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![braedonkm](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@braedonkm](https://devforum.zoom.us/u/braedonkm)\
**Post date:** [July 18, 2024, 6:24pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/1 "2024-07-18T18:24:11Z")

</div>

### Format Your New Topic as Follows:

**Meeting SDK Type and Version**  
Using Web type, version 3.8.0

**Description**  
Hi, I’m trying to get the [sample Web Meeting SDK app](https://github.com/zoom/meetingsdk-web-sample) to work on a Raspberry Pi so that any device on the local network can use the Pi’s camera/mic on a Zoom meeting with the web client. I inserted my Client ID and Client Secret as instructed, however I get a “Signature is Invalid” error code 3712. I also wrote my own barebones app from scratch, using the same SDK version and the ZoomMtg.generateSDKSignature() function, but I get the same error.  
One of the signatures I generated is: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJjZWl1QzBzUVFFaTlGTmRzTHNQVkFnIiwic2RrS2V5IjoiY2VpdUMwc1FRRWk5Rk5kc0xzUFZBZyIsImlhdCI6MTcyMTMyMDg4MiwiZXhwIjoxNzIxMzI4MDgyLCJtbiI6IjM4MzIzNjU1MjciLCJyb2xlIjoiMCJ9.dJOyn6YOsYTEe3MItmwIFlT2cN62erEfJRk78ok3ei8

**Error?**

1. {method: ‘join’, status: false, result: ‘Invalid signature.’, errorCode: 3712, errorMessage: ‘Signature is invalid.’}

2. errorCode: 3712

3. errorMessage: “Signature is invalid.”

4. method: “join”

5. result: “Invalid signature.”

6. status: false

**How To Reproduce**

1. Download sample Web Meeting SDK app from [GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample](https://github.com/zoom/meetingsdk-web-sample)
2. Prepare the app as instructed by the README
3. Run either the NPM or CDN version
4. Join a Zoom Meeting. I hosted one from my phone. Following this step is when I get the error.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 19, 2024, 8:55am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/2 "2024-07-19T08:55:13Z")

</div>

@braedonkm mn and role should be in integer format. currently you have them as string format.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/d/8d42f3ea954d434d8fa9a805321a847d491a6c36.png)

---

<div class="post-metadata">

**Author:** ![braedonkm](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@braedonkm](https://devforum.zoom.us/u/braedonkm)\
**Post date:** [July 19, 2024, 12:06pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/3 "2024-07-19T12:06:24Z")

</div>

Hi Chun,

Thanks for the reply. I changed mn and role to integers and I am still getting the same error. Here is a signature I got after this change:

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJpYWFSOElMc1E5NlhvUEhGcU5jUHJRIiwic2RrS2V5IjoiaWFhUjhJTHNROTZYb1BIRnFOY1ByUSIsImlhdCI6MTcyMTM5MDU5MiwiZXhwIjoxNzIxMzk3NzkyLCJtbiI6MzgzMjM2NTUyNywicm9sZSI6MH0.7\_wYU8hif8mBS4-YEehWZaKO9lUhT-lFmNAYvvpiyO8

Also I’m getting an error now like this:  
TypeError: Cannot set properties of undefined (setting ‘ondevicechange’)  
at e.value (zoomus-websdk-zoommtgMain.umd.min.js:2:489314)  
at o (zoomus-websdk-zoommtgMain.umd.min.js:2:1713702)  
at zoomus-websdk-zoommtgMain.umd.min.js:2:186964 ‘tasks error’

Thank you  
Braedon

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 19, 2024, 12:26pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/4 "2024-07-19T12:26:49Z")

</div>

Hi @braedonkm , what version of SDK are you using?

---

<div class="post-metadata">

**Author:** ![braedonkm](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@braedonkm](https://devforum.zoom.us/u/braedonkm)\
**Post date:** [July 19, 2024, 12:28pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/5 "2024-07-19T12:28:25Z")

</div>

I’m using version 3.8.0 @chunsiong.zoom with CDN

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 19, 2024, 12:43pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/6 "2024-07-19T12:43:20Z")

</div>

@braedonkm application needs to be published to join meeting hosted by external user

---

<div class="post-metadata">

**Author:** ![raydedon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raydedon/32/62305_2.png) [@raydedon](https://devforum.zoom.us/u/raydedon)\
**Post date:** [August 10, 2024, 11:51am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/7 "2024-08-10T11:51:05Z")

</div>

@chunsiong.zoom I am also getting the same error. Can you please help. Can you please explain what do you mean by

> application needs to be published to join meeting hosted by external user

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 12, 2024, 2:01am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/8 "2024-08-12T02:01:46Z")

</div>

@raydedon

If your General App or Meeting SDK App is in unpublished status in [marketplace.zoom.us](http://marketplace.zoom.us), you will only be allowed to join meeting which are hosted by other users in your same tenant.

If the meeting is hosted by users in external tenant, you will not be able to join it, unless your App is published.

---

<div class="post-metadata">

**Author:** ![raydedon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raydedon/32/62305_2.png) [@raydedon](https://devforum.zoom.us/u/raydedon)\
**Post date:** [August 12, 2024, 5:57am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/9 "2024-08-12T05:57:03Z")

</div>

@chunsiong.zoom I have already created a server-to-server oauth app. Please have a look.

 ![Screenshot 2024-08-12 at 11.19.49 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/5/95f9d684d9d9b2e5bebc349bad36b700cd4e2e4f.png)  
 ![Screenshot 2024-08-12 at 11.18.11 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/5/d54e79edf6d119853e71d77a17b31dceed1dfc98.png)

And as per the zoom documentation, a server-to-server oauth app cannot be published on the marketplace. mentioned here [Create a Server-to-Server OAuth app](https://developers.zoom.us/docs/internal-apps/create/)

 ![Screenshot 2024-08-12 at 11.27.54 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/e/3e05a9d37047fefe5fdca48a87a9c9a1482dc105.jpeg)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 12, 2024, 6:36am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/10 "2024-08-12T06:36:24Z")

</div>

@raydedon how are you creating your sdk with token? You need to use the client id and client secret from either a meeting sdk app or general app. This has nothing to do with server to server app

---

<div class="post-metadata">

**Author:** ![raydedon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raydedon/32/62305_2.png) [@raydedon](https://devforum.zoom.us/u/raydedon)\
**Post date:** [August 12, 2024, 6:55am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/11 "2024-08-12T06:55:19Z")

</div>

@chunsiong.zoom Look we are using this nodejs app for the auth endpoint. This app is recommended by Zoom also.

> **[GitHub - zoom/meetingsdk-auth-endpoint-sample: Generate a Meeting SDK JWT to...](https://github.com/zoom/meetingsdk-auth-endpoint-sample/tree/master)**
>
> master

We just need to pass clientId and clientSecret.

> <https://github.com/zoom/meetingsdk-auth-endpoint-sample/blob/master/src/index.js>

---

<div class="post-metadata">

**Author:** ![raydedon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raydedon/32/62305_2.png) [@raydedon](https://devforum.zoom.us/u/raydedon)\
**Post date:** [August 12, 2024, 6:59am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/12 "2024-08-12T06:59:02Z")

</div>

@chunsiong.zoom we are still receiving the following error while joining a meeting, using meeting SDK.

please have a look at the error thrown:-  
{  
“method”: “join”,  
“status”: false,  
“result”: “Invalid signature.”,  
“errorCode”: 3712,  
“errorMessage”: “Signature is invalid.”  
}

please have a look at the below signature

`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJ4UGlpb2d6Z1R2MlVFOG5KcU55Mk1RIiwic2RrS2V5IjoieFBpaW9nemdUdjJVRThuSnFOeTJNUSIsIm1uIjo3MzYxNjc1NTM4MSwicm9sZSI6MCwiaWF0IjoxNzIzMjg3NDAyLCJleHAiOjE3MjMyOTQ2MDIsInRva2VuRXhwIjoxNzIzMjk0NjAyfQ.y3ywYHfThdyRqTJhQMQq_EtGV3b-sV3vmPTHV57mV94`

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 12, 2024, 7:03am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/13 "2024-08-12T07:03:40Z")

</div>

@raydedon please reset your password, as mentioned on duplicated thread, you will need to use a General App or Meeting SDK app. You cannot use a server to server oauth app.

---

<div class="post-metadata">

**Author:** ![dpastora](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dpastora](https://devforum.zoom.us/u/dpastora)\
**Post date:** [August 16, 2024, 2:56pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/14 "2024-08-16T14:56:48Z")

</div>

Hello @chunsiong.zoom I’m facing the same problem, I’m using both react and endpoint samples without modification, and no matter what I do, I keep getting the same error.  
I already activated MeetingSDK in Embed options and tried setting `mn` and `role` to integers and strings. Still no solution.

Last generated signature:

```auto
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJlNVhQc2VSelNqT3JTeVY1Q1BGbGRRIiwic2RrS2V5IjoiZTVYUHNlUnpTak9yU3lWNUNQRmxkUSIsIm1uIjoiMjM1MDk1NDQxNiIsInJvbGUiOjAsImlhdCI6MTcyMzgxOTgyMSwiZXhwIjoxNzIzODI3MDIxLCJ0b2tlbkV4cCI6MTcyMzgyNzAyMX0.V_-l1-kHgP0dgkMQh0dSYM8KaSXbrqkanEevX7O27UI

```

Payload:

```auto
 {
  appKey: 'e5XPseRzSjOrSyV5CPFldQ',
  sdkKey: 'e5XPseRzSjOrSyV5CPFldQ',
  mn: '2350954416',
  role: 0,
  iat: 1723819821,
  exp: 1723827021,
  tokenExp: 1723827021
}

```

Client ID: `vWnCbS1hTj2aszGsH1SmKg`  
Client Secret: `redacted`

Also, what do you mean by “Reset your password”?

Thanks!

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 19, 2024, 1:08am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/15 "2024-08-19T01:08:03Z")

</div>

@dpastora do not share your password / secret in clear here.

Your clientID is in production tab, but your application is not published yet.  
You will need to use the clientID from the development tab instead.

---

<div class="post-metadata">

**Author:** ![dpastora](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dpastora](https://devforum.zoom.us/u/dpastora)\
**Post date:** [August 19, 2024, 5:17pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/16 "2024-08-19T17:17:53Z")

</div>

Thanks @chunsiong.zoom Are there any limits on using development credentials?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 20, 2024, 2:42am UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/17 "2024-08-20T02:42:09Z")

</div>

@dpastora yes there are limits. The biggest one being unable to join externally hosted meetings

---

<div class="post-metadata">

**Author:** ![asai001](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/asai001/32/65387_2.png) [@asai001](https://devforum.zoom.us/u/asai001)\
**Post date:** [December 3, 2024, 1:59pm UTC](https://devforum.zoom.us/t/signature-is-invalid-error-code-3712-using-sample-web-app/113957/18 "2024-12-03T13:59:40Z")

</div>

I get a similar error when using General App.

please have a look at the below signature

```auto
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJteXM5bm1hRlJZeUhuaWw1TEZxaFpBIiwic2RrS2V5IjoibXlzOW5tYUZSWXlIbmlsNUxGcWhaQSIsIm1uIjo2NDkwNjI0NDAyLCJyb2xlIjoxLCJpYXQiOjE3MzMyMTg4OTQsImV4cCI6MTczMzIyNjA5NCwidG9rZW5FeHAiOjE3MzMyMjYwOTR9.ymLmjq4F1UyG_hwhP20aAz8EZC0kbG5Oor8iacBRgcA

```
