# Joining meeting timeout. Signature is invalid. (React & Node (for token generation))

**URL:** <https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591>\
**Category:** Web\
**Created:** [October 4, 2024, 2:23pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591 "2024-10-04T14:23:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![paritoshkhubchandani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paritoshkhubchandani/32/63868_2.png) [@paritoshkhubchandani](https://devforum.zoom.us/u/paritoshkhubchandani)\
**Post date:** [October 4, 2024, 2:23pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591/1 "2024-10-04T14:23:16Z")

</div>

I’m trying to join a meeting created by me using ZOOM SDK, but I’m getting " Joining meeting timeout. Signature is invalid.".

Please help me understand where I’m going wrong.

---

<div class="post-metadata">

**Author:** ![Fario\_Consulting](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@Fario\_Consulting](https://devforum.zoom.us/u/Fario_Consulting)\
**Post date:** [October 5, 2024, 9:06am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591/2 "2024-10-05T09:06:41Z")

</div>

Hi Paritosh,  
Could you ensure you are generating the signature using a UTC timezone.

---

<div class="post-metadata">

**Author:** ![paritoshkhubchandani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paritoshkhubchandani/32/63868_2.png) [@paritoshkhubchandani](https://devforum.zoom.us/u/paritoshkhubchandani)\
**Post date:** [October 8, 2024, 2:38pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591/3 "2024-10-08T14:38:24Z")

</div>

Yes, I’m generating the signature using UTC timezone.  
Code Reference:

```auto
const generateSignature = (meetingNumber, role) => {
  const iat = Math.floor(Date.now() / 1000) - 30;
  const exp = iat + 20 * 60 * 60;
  const payload = {
    sdkKey: API_KEY,
    mn: meetingNumber,
    role,
    iat,
    exp,
    appKey: API_KEY,
    tokenExp: exp,
  };
  return jwt.sign(payload, API_SECRET, { algorithm: "HS256" });
};

```

```auto
app.get("/meeting/:meetingId", async (req, res) => {
  const meetingId = req.params.meetingId;
  // Here, generate the Zoom SDK signature and get API key and password
  const signature = generateSignature(meetingId, 0); // Implement this
  const apiKey = API_KEY; // Use your API key
  const meetingPassword = ""; // Use the meeting password

  res.json({ signature, apiKey, meetingPassword });
});

```

---

<div class="post-metadata">

**Author:** ![paritoshkhubchandani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paritoshkhubchandani/32/63868_2.png) [@paritoshkhubchandani](https://devforum.zoom.us/u/paritoshkhubchandani)\
**Post date:** [October 14, 2024, 3:06pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591/4 "2024-10-14T15:06:15Z")

</div>

Hi Community,  
Anyone has any solution for this?

---

<div class="post-metadata">

**Author:** ![gauravdev](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@gauravdev](https://devforum.zoom.us/u/gauravdev)\
**Post date:** [October 30, 2024, 7:23am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591/6 "2024-10-30T07:23:36Z")

</div>

did you find the solution? Please share

---

<div class="post-metadata">

**Author:** ![paritoshkhubchandani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paritoshkhubchandani/32/63868_2.png) [@paritoshkhubchandani](https://devforum.zoom.us/u/paritoshkhubchandani)\
**Post date:** [October 31, 2024, 3:35pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591/7 "2024-10-31T15:35:09Z")

</div>

No @gauravdev . Not yet. Please reply if you have found the solution.

---

<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:** [December 1, 2024, 1:35am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-signature-is-invalid-react-node-for-token-generation/118591/8 "2024-12-01T01:35:31Z")

</div>

Closed on December 1, 2024, 1:35am UTC

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