# Zoom Meeting SDK error code:200, Failed to construct 'URL': Invalid URL

**URL:** <https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772>\
**Category:** Meeting SDK\
**Created:** [March 29, 2024, 7:07am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772 "2024-03-29T07:07:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![yash\_bhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yash_bhavi/32/54969_2.png) [@yash\_bhavi](https://devforum.zoom.us/u/yash_bhavi)\
**Post date:** [March 29, 2024, 7:07am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/1 "2024-03-29T07:07:39Z")

</div>

@chunsiong.zoom @gianni.zoom @MaxM  
**Meeting SDK Type and Version**  
Zoom Meeting SDK version 3.1.0 imported via CDN.

**Description**  
The error code 200 indicates that there is an issue when attempting to join the meeting with a user outside of the SDK account in the OAuth + WebSDK app. In this OAuth + WebSDK app, OAuth functionality enables users to schedule meetings, while the WebSDK facilitates users in directly joining Zoom meetings from our platform.

```auto
ZoomMtg.join({
            signature: signature,
            sdkKey: sdkKey,
            meetingNumber: meetingId,
            passWord: passWord,
            userName: zoomUserName,
            userEmail: zoomEmail,
            zak: zakToken,
)}

```

**Error?**

 ![Screenshot 2024-03-29 102035](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/0/f0e6f36e336432ea7e461ba192ab71cd7a9aadd3.png)

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/5/c50ef4a55866e1f1b02e524f0e6ea11683e8c9ef.png)

**Troubleshooting Routes**

1. I tried to pass the zakToken while joining the meeting as per the documentation but still getting the same error [https://developers.zoom.us/docs/meeting-sdk/auth/#start-meetings-and-webinars-with-a-zoom-users-zak-token](https://developers.zoom.us/docs/meeting-sdk/auth/#start-meetings-and-webinars-with-a-zoom-users-zak-token)

**How To Reproduce**

1. Zoom Meeting SDK Oauth .
2. When clicked on the join the meet, then these errors are popping up.

---

<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:** [April 1, 2024, 1:55am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/2 "2024-04-01T01:55:34Z")

</div>

@yash_bhavi could you provide these details?

- sample of the signature
- is your Meeting SDK App published?
- is the Meeting SDK trying to join an external meeting?
- is the Meeting SDK trying to start or is it trying to join a meeting?

---

<div class="post-metadata">

**Author:** ![yash\_bhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yash_bhavi/32/54969_2.png) [@yash\_bhavi](https://devforum.zoom.us/u/yash_bhavi)\
**Post date:** [April 5, 2024, 2:55am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/3 "2024-04-05T02:55:51Z")

</div>

Hi @chunsiong.zoom , here are the details you require:

- signature- “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiI0cHUyRUhKUlNCZWdNVUMzY0FPNWciLCJtbiI6Ijk4NDU1OTQ0MDE5Iiwicm9sZSI6MSwiaWF0IjoxNzEyMjc5Mzc2LCJleHAiOjE3MTIzNTEzNzYsImFwcEtleSI6IjRwdTJFSEpSU0JlZ01VQzNjQU81ZyIsInRva2VuRXhwIjoxNzEyMzUxMzc2fQ.8nGB3hmyi3O5az21fgFoCrP3PKkd3ZygKS5sZAt8MvE”

- No, our meeting SDK App is not published yet. We have submitted the request for publishing the App. Upon submitting the app to the marketplace, the reviewer conducted a check and found that our website was unable to join the meetings with external accounts.

- I didn’t get exactly what external meeting means? But as far as I know, the meeting is created by the reviewer who has the external account (which is not added under the SDK account) so the reviewer is getting the above error code:200, Failed to construct ‘URL’ :Invalid URL

- Yes, the Meeting SDK is trying to start a meeting which was created by the external account user itself.

---

<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:** [April 5, 2024, 3:11am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/4 "2024-04-05T03:11:00Z")

</div>

@yash_bhavi

If this is an issue with your review, please reach out to your reviewer as well.

For the JWT token which you have shared, it is trying to start an external meeting, which is not supported.

Please change the role to 0 instead of role : 1  
You might also want to remove the quotes from the meeting number

These 2 actions should solve your error

---

<div class="post-metadata">

**Author:** ![yash\_bhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yash_bhavi/32/54969_2.png) [@yash\_bhavi](https://devforum.zoom.us/u/yash_bhavi)\
**Post date:** [April 5, 2024, 11:49am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/5 "2024-04-05T11:49:56Z")

</div>

@chunsiong.zoom

There is no quote in the meeting number and if we changed role to 0 instead of 1 it will join as participant and not as host.

Our app is actually displaying a script in the side while the meeting is going on and I have seen many apps on Zoom marketplace which provide similar kind of functionality, then why I am facing this issue with our app when we are trying to publish it ?  
What’s the solution for this as I want to publish the Zoom app on the marketplace as it is an User-Level app?

---

<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:** [April 8, 2024, 3:26am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/6 "2024-04-08T03:26:40Z")

</div>

> [@yash\_bhavi](#):
>
> Our app is actually displaying a script in the side while the meeting is going on and I have seen many apps on Zoom marketplace which provide similar kind of functionality, then why I am facing this issue with our app when we are trying to publish it ?

@yash_bhavi

The Meeting SDK cannot start an external meeting.  
It can only join an external meeting after it is published.

---

<div class="post-metadata">

**Author:** ![yash\_bhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yash_bhavi/32/54969_2.png) [@yash\_bhavi](https://devforum.zoom.us/u/yash_bhavi)\
**Post date:** [April 8, 2024, 7:05am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/7 "2024-04-08T07:05:05Z")

</div>

@chunsiong.zoom

> [@Allow external users (hosts) to start meeting using webSDK](https://devforum.zoom.us/t/allow-external-users-hosts-to-start-meeting-using-websdk/107272/2):
>
> @prathmesh_patil , Yes, this workflow is possible, but your app will have to be reviewed and published. For this, see the below links: Start meetings and webinars with a Zoom user’s ZAK token Preparing your Meeting SDK app for review

referring the above mentioned thread, the answer which you gave is contradicting. So what should I do? I want a solution for this issue ASAP as I want to publish the app on the Zoom marketplace.

---

<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:** [April 8, 2024, 7:18am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/8 "2024-04-08T07:18:08Z")

</div>

@yash_bhavi

The thread which was mentioned starts a meeting as a host. That meeting needs to be an internal meeting, and zak token is use as an authentication method

---

<div class="post-metadata">

**Author:** ![yash\_bhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yash_bhavi/32/54969_2.png) [@yash\_bhavi](https://devforum.zoom.us/u/yash_bhavi)\
**Post date:** [April 8, 2024, 8:53am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/9 "2024-04-08T08:53:46Z")

</div>

Our requirement is like the users authorize their zoom account through our app and host their meeting using our app and can display a script side by side while the meeting is going on. So is their any solution to join external meeting as a host ?

---

<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:** [April 8, 2024, 9:08am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/10 "2024-04-08T09:08:42Z")

</div>

> Our requirement is like the users authorize their zoom account through our app

this is possible

> and host their meeting using our app and can display a script side by side while the meeting is going on.

hosting / starting their own meeting using your app, this is considered starting an external meeting from your app’s point of view. This will work if you are using our web client, but if you are using our web sdk or client sdk, this is not supported.

> So is their any solution to join external meeting as a host ?

If you are asking if there is alternative to starting external meeting, yes. They will have to use [zoom.us](http://zoom.us) web client.

---

<div class="post-metadata">

**Author:** ![yash\_bhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yash_bhavi/32/54969_2.png) [@yash\_bhavi](https://devforum.zoom.us/u/yash_bhavi)\
**Post date:** [April 8, 2024, 9:17am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-error-code-200-failed-to-construct-url-invalid-url/106772/11 "2024-04-08T09:17:35Z")

</div>

If we use the [Zoom.us](https://zoom.us/) web client directly, it will not open our custom script alongside the ongoing meeting. Instead, it will open under the Zoom URL, not our website URL. Is there any solution for this?
