# Electron join meeting with URL error

**URL:** <https://devforum.zoom.us/t/electron-join-meeting-with-url-error/24509>\
**Category:** Electron\
**Created:** [July 18, 2020, 5:48pm UTC](https://devforum.zoom.us/t/electron-join-meeting-with-url-error/24509 "2020-07-18T17:48:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vidd.dev](https://avatars.discourse-cdn.com/v4/letter/v/e495f1/32.png) [@vidd.dev](https://devforum.zoom.us/u/vidd.dev)\
**Post date:** [July 18, 2020, 5:48pm UTC](https://devforum.zoom.us/t/electron-join-meeting-with-url-error/24509/1 "2020-07-18T17:48:35Z")

</div>

Pls advise asap. Thanks in advance for your help.

**Description**  
Cannot connect to a meeting via URL

**Which version?**  
electron version: 5.0.13  
nodejs: v12.18.2  
MAC

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to start\_join\_without\_login.html
2. Input a live meeting url (I started a new live meeting from my own account)
3. See error in screenshot

**Screenshots**  
Screenshot attached ![Screen Shot 2020-07-18 at 10.32.44 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/62eea67f4a5466e71a542c38d91a7b0e46497d98.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:** [July 22, 2020, 10:51pm UTC](https://devforum.zoom.us/t/electron-join-meeting-with-url-error/24509/2 "2020-07-22T22:51:17Z")

</div>

Hey @vidd.dev,

Have you checked out these related threads?

[https://devforum.zoom.us/search?q=handlezoomweburi](https://devforum.zoom.us/search?q=handlezoomweburi)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![vidd.dev](https://avatars.discourse-cdn.com/v4/letter/v/e495f1/32.png) [@vidd.dev](https://devforum.zoom.us/u/vidd.dev)\
**Post date:** [July 22, 2020, 11:27pm UTC](https://devforum.zoom.us/t/electron-join-meeting-with-url-error/24509/3 "2020-07-22T23:27:06Z")

</div>

Hi Tommy,

Yes I did before I sent you guys my message. Btw, if you noticed,  
there aren’t really any solutions in those threads…

Hope you can help, pronto!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 24, 2020, 4:22am UTC](https://devforum.zoom.us/t/electron-join-meeting-with-url-error/24509/4 "2020-07-24T04:22:03Z")

</div>

Hi @vidd.dev,

Thanks for the post. Is this reproducible with our demo app? We have followed the steps you have provided with our Electron SDK demo app and it is working as expected.

Thanks!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 29, 2020, 8:07am UTC](https://devforum.zoom.us/t/electron-join-meeting-with-url-error/24509/6 "2020-07-29T08:07:42Z")

</div>

Hi @vidd.dev,

Thanks for the reply and for providing the code. Pardon the late response. In order to use the SDK functions, you will need to pass the SDK auth. Here are the steps:

1. Follow the instruction here to create an SDK app on Marketplace: [https://marketplace.zoom.us/docs/guides/build/sdk-app](https://marketplace.zoom.us/docs/guides/build/sdk-app) and get the SDK key/secret
2. Use the following template to compose your JWT token for SDK initialization(Not the JWT token from the Marketplace App, that token is for the Zoom Rest API):

\*\* Header

```auto
{
  "alg": "HS256",
  "typ": "JWT"
}

```

\*\* Payload

```auto
{
	  "appKey": "string", // Your SDK key
         "iat": long, // access token issue timestamp
         "exp": long, // access token expire timestamp
         "tokenExp": long // token expire timestamp, MIN:30 minutes
}

```

**The minimum value of `tokenExp` should be at least 30 minutes, and `exp` should be later than `tokenExp`, otherwise, SDK will reject the authentication request.**  
\*\* Signature

```auto
HMACSHA256(
  base64UrlEncode(header) + "." +
  base64UrlEncode(payload),
  "Your SDK secret here"
)

```

Once you have the JWT token, you should be able to pass the SDK initialization and authentication. Then you should be able to try the meeting related functions in the demo app.

Please have a try. Hope this helps. Thanks!
