# Error code 3707 when using SDK authentication

**URL:** <https://devforum.zoom.us/t/error-code-3707-when-using-sdk-authentication/73816>\
**Category:** Web\
**Created:** [August 8, 2022, 2:46am UTC](https://devforum.zoom.us/t/error-code-3707-when-using-sdk-authentication/73816 "2022-08-08T02:46:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ljacquel](https://avatars.discourse-cdn.com/v4/letter/l/a9adbd/32.png) [@ljacquel](https://devforum.zoom.us/u/ljacquel)\
**Post date:** [August 8, 2022, 2:46am UTC](https://devforum.zoom.us/t/error-code-3707-when-using-sdk-authentication/73816/1 "2022-08-08T02:46:19Z")

</div>

Hello zoom dev team,

I am trying to use the SDK authentication for React app using web SDK but I encounter issues.

I am now trying to use the sample application provided here :

> **[GitHub - zoom/meetingsdk-react-sample: Use the Zoom Meeting SDK in a React App](https://github.com/zoom/meetingsdk-react-sample)**
>
> Use the Zoom Meeting SDK in a React App. Contribute to zoom/meetingsdk-react-sample development by creating an account on GitHub.

> **[GitHub - zoom/meetingsdk-sample-signature-node.js: Generate a signature to...](https://github.com/zoom/meetingsdk-sample-signature-node.js)**
>
> Generate a signature to Start and Join Meetings and Webinars with the Zoom Meeting SDKs. - GitHub - zoom/meetingsdk-sample-signature-node.js: Generate a signature to Start and Join Meetings and Web...

In the signature sample app we can first see that the schema used is not the same as the documentation here :

> **[SDK Authentication](https://marketplace.zoom.us/docs/sdk/video/auth/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

I think sample app seems to be correct ? So I tried to I configure the applications with my SDK key and secret and start the apps. Then when I try to join the meeting I got the following error :  
Joining meeting timeout.  
The meeting number is not found.

And in the console I can see this error code in the json error object :  
errorCode: 3707

I was able to decode the jwt token on my react application and got this :

```auto
{
   "sdkKey":" ******",
   "mn":"123456789",
   "role":1,
   "iat":1659926357,
   "exp":1659933557,
   "appKey":" ******", // same value as sdkKey
   "tokenExp":1659933557
}

```

It seems correct to me so I can not find the issue.

Do you have any idea of what I am doing wrong ?

Thank you.

Loic.

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [August 8, 2022, 10:35am UTC](https://devforum.zoom.us/t/error-code-3707-when-using-sdk-authentication/73816/2 "2022-08-08T10:35:20Z")

</div>

create a new simple test meeting

- Registration NOT required
- a simple Passcode
- no waiting room
- Options: Allow participants to join anytime

you can use it endless - if you don’t use it some (???) weeks, it will automaticly deleted from your zoom account

activate the debug-mode

```auto
ZoomMtg.init({
    debug: true,

```

remove the registration info “tk”

```auto
ZoomMtg.join({	
  tk: registrantToken // <- remove complete line

```

and test again

Jürgen

---

<div class="post-metadata">

**Author:** ![ljacquel](https://avatars.discourse-cdn.com/v4/letter/l/a9adbd/32.png) [@ljacquel](https://devforum.zoom.us/u/ljacquel)\
**Post date:** [August 9, 2022, 12:47am UTC](https://devforum.zoom.us/t/error-code-3707-when-using-sdk-authentication/73816/3 "2022-08-09T00:47:07Z")

</div>

Hello @Jürgen

Thank you, I was able to solve my issue.

I think I made mistake with meeting ID, because even if I keep the line “tk: registrantToken”, it is still working.

So probably the documentation is not uptodate since when I use “app\_key” (documentation) instead of “sdkKey” (sample app) in the signature generation, I got error.

If someone from zoom check this message, it can be nice to verify that and maybe update the docs.

Thank you,

Loic.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [August 10, 2022, 12:55am UTC](https://devforum.zoom.us/t/error-code-3707-when-using-sdk-authentication/73816/4 "2022-08-10T00:55:23Z")

</div>

Thank you contribution to the Zoom Developer forum @j.schoenemeyer!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 9, 2022, 10:56am UTC](https://devforum.zoom.us/t/error-code-3707-when-using-sdk-authentication/73816/5 "2022-09-09T10:56:16Z")

</div>

Closed on September 9, 2022, 10:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
