# "Fail to join the meeting" error

**URL:** <https://devforum.zoom.us/t/fail-to-join-the-meeting-error/69013>\
**Category:** Meeting SDK\
**Created:** [May 16, 2022, 5:36am UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-error/69013 "2022-05-16T05:36:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kenp/32/37700_2.png) [@kenp](https://devforum.zoom.us/u/kenp)\
**Post date:** [May 16, 2022, 5:36am UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-error/69013/1 "2022-05-16T05:36:36Z")

</div>

**Description** : I figured out Oauth and how to create a meeting, but when I try to join the meeting, I receive a “fail to join the meeting” error.

**SDK Version** : 2.4.0

**Reproducible Steps** : [https://instalawyer.ca/video.php](https://instalawyer.ca/video.php)

**Additional Context** :

The meeting is still going on my phone, so it has definitely started. I checked the meeting number against what’s entered below.

```auto
client.join({
  sdkKey: "[REDACTED]",
  signature: "[REDACTED]",
  meetingNumber: "[REDACTED]",
  password: "999",
  userName: "KenP",
});

```

I ran the signature through a JWT debugger, and it spits out:

```auto
Header
{
  "alg": "HS256",
  "typ": "JWT"
}
Payload
{
  "appKey": "[REDACTED]",
  "sdkKey": "[REDACTED]",
  "mn": "[REDACTED]",
  "role": 0,
  "iat": 1652678922,
  "exp": 1652686122,
  "tokenExp": 1652686122
}

```

I tried the JWT signature generated in Marketplace and that didn’t work either.

The meeting would have been started in Zoom API if that makes a difference.

I’ve spent hours pouring through the documentation and this forum, but nothing I try seems to work.  
Thank you for any guidance you can provide!

---

<div class="post-metadata">

**Author:** ![kenp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kenp/32/37700_2.png) [@kenp](https://devforum.zoom.us/u/kenp)\
**Post date:** [May 17, 2022, 5:12pm UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-error/69013/2 "2022-05-17T17:12:08Z")

</div>

(post deleted by author)

---

<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:** [June 2, 2022, 2:12am UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-error/69013/3 "2022-06-02T02:12:00Z")

</div>

Greeting, @kenp,

Thank you for posting! May we know if you are using the SDK App type credentials or JWT App type to generate a signature? The first thing I’d recommend is to use the endpoint from the Sample Signature App to generate a signature and Sample-app-web to join a meeting. After successfully joining, you can compare and inspect your implementation against the working one:

 ![Screen Shot 2022-06-01 at 10.06.30 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/b/6b818f8b2a7dc0f73131125b1ed8a2fbaceee2b6.png)

## Sample Web Meeting SDK

> **[GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample](https://github.com/zoom/meetingsdk-web-sample)**
>
> Zoom Meeting SDK web sample

## Sample Signature Node.js

> **[GitHub - zoom/meetingsdk-auth-endpoint-sample: Generate a Meeting SDK JWT to join Zoom meetings...](https://github.com/zoom/meetingsdk-auth-endpoint-sample)**
>
> Generate a Meeting SDK JWT to join Zoom meetings and webinars with the Meeting SDK.

---

<div class="post-metadata">

**Author:** ![brandtley.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/brandtley.zoom/32/40274_2.png) [@brandtley.zoom](https://devforum.zoom.us/u/brandtley.zoom)\
**Post date:** [July 20, 2022, 10:30pm UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-error/69013/4 "2022-07-20T22:30:43Z")

</div>

Hello Ken,

I noticed a discrepancy between what our documentation says vs what it shows and the parsed JWT timestamp values you provided.

It looks like you’re trying to use PHP with our SDK, which PHP generates time in seconds, whereas our docs refer to time in seconds but show milliseconds in our code samples. This is confusing to me as well, so I will follow up and verify this with our team to see what the correct value should be documented as.

I would recommend to see what happens if you multiply your `exp` time by 1000 when generating your token?

---

<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:** [July 21, 2022, 5:57pm UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-error/69013/5 "2022-07-21T17:57:27Z")

</div>

JWT Signature (deprecated) → **Milliseconds** (const timestamp = new Date().getTime() - 30000)  
SDK JWT Signature → **Seconds** (iat = Math.round((new Date().getTime() - 30000) / 1000))

Jürgen
