# Facing the issues "Please use host/alternative host to start the webinar" while joining webinar

**URL:** <https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426>\
**Category:** Web\
**Created:** [September 4, 2023, 10:23am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426 "2023-09-04T10:23:51Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 4, 2023, 10:23am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/1 "2023-09-04T10:23:51Z")

</div>

When we try to join webinar from web using web SDK,  
We are facing below error message  
**Please use host/alternative host to start the webinar with error code 3624**

---

<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:** [September 4, 2023, 10:53am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/2 "2023-09-04T10:53:42Z")

</div>

@karan.sintal ,

can you share the steps to reproduce this, version of the SDK and a sample of your JWT signature used to start or join the webinar?

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 4, 2023, 11:09am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/3 "2023-09-04T11:09:44Z")

</div>

Thanks @chunsiong.zoom for reply,

I’m using **Meeting SDK for Web 2.9.7**  
Used payload to generate signature is

```auto
{
    "sdkKey": "***",
    "mn": "81165181552",
    "role": "1",
    "iat": "1693821752",
    "exp": "1693828952",
    "appKey": "***",
    "tokenExp": "1693828952"
}

```

Any other required?

---

<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:** [September 4, 2023, 11:30am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/4 "2023-09-04T11:30:37Z")

</div>

@karan.sintal ,

- What are the steps to reproduce this? (do include the code used to join the webinar as well)

- Are you using ClientID and ClientSecret from Meeting SDK App Type to sign the signature?

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 5, 2023, 6:23am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/5 "2023-09-05T06:23:37Z")

</div>

```auto
const iat = Math.round(new Date().getTime() / 1000) - 30;
const exp = iat + 60 * 60 * 2;

```

Using following payload to generate signate

```auto
{
    "sdkKey":ClientID,
    "mn": "87144148472",
    "role": "1",
    "iat": "1693894371",
    "exp": "1693901571",
    "appKey": ClientID,
    "tokenExp": "1693901571"
}

```

Following code to join meeting

```auto
ZoomMtg.init({
	leaveUrl: meetConfig.leaveUrl,
	isSupportAV: true,
	success: function () {
		ZoomMtg.join(
			{
				meetingNumber: meetConfig.meetingNumber,
				userName: meetConfig.userName,
				userEmail: meetConfig.userEmail,
				signature: signature,
				sdkKey: meetConfig.sdkKey,
				passWord: meetConfig.passWord,
				success: function(res){
				   // $('#nav-tool').hide();
				},
				error: function(res) {
					console.log(res);
				}
			}
		);
	},
	error: function(res) {
		console.log(res);
	}
});

```

`And I'm using ClientID to generate not ClientSecret`

---

<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:** [September 5, 2023, 6:36am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/6 "2023-09-05T06:36:10Z")

</div>

@karan.sintal ，

You are trying to join the meeting right?

Could you change the role in your signature from 1 to 0?

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 5, 2023, 6:38am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/7 "2023-09-05T06:38:24Z")

</div>

> [@chunsiong.zoom](#):
>
> ld you change the role in your signature from 1 to 0?

yes tried but didnt work

---

<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:** [September 5, 2023, 6:40am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/8 "2023-09-05T06:40:51Z")

</div>

> [@karan.sintal](#):
>
> And I’m using ClientID to generate not ClientSecret

@karan.sintal , just to confirm, you signed the signature using your clientSecret right?

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 5, 2023, 12:21pm UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/9 "2023-09-05T12:21:18Z")

</div>

> [@chunsiong.zoom](#):
>
> signed the signature using your clientSecret righ

No i have generated signature using only ClientID by using Create JSON Web Token Using Secret Key with HS256 algo, is this correct?

---

<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:** [September 5, 2023, 12:35pm UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/10 "2023-09-05T12:35:54Z")

</div>

@karan.sintal ,

If you have used ClientID, sign the message with ClientSecret.  
If you have used SDKKey, sign the message with SDKSecret.

These 2 pairs need to match.

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 14, 2023, 6:21am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/11 "2023-09-14T06:21:27Z")

</div>

Hi,

I have created sign with ClientID and Client Secret but still showing same error.

Any other solution?

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 14, 2023, 6:50am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/12 "2023-09-14T06:50:40Z")

</div>

@chunsiong.zoom

Now I have other issue as error code - NOT\_CONNECTED

I have generate sign using this payload

```auto
(
    'appKey' => ClientID,
    'sdkKey' => ClientID,
    'mn' => webinar_id,
    'role' => 0,
    'iat' => iat,
    'exp' => exp,
    'tokenExp' => exp
   );

$signature = JWT::sign($signing_payload, 'client_secret_key', $algo);

```

And to join meeting I’m using following method

```auto
ZoomMtg.join({
        meetingNumber: meetConfig.meetingNumber,
        userName: meetConfig.userName,
        userEmail: meetConfig.userEmail,
        signature: "<?php echo $signature ; ?>",
        sdkKey: ClientID,
        passWord: meetConfig.passWord,
        success: function(res){
              console.log(res);
        },
        error: function(res) {
            console.log(res);
        }
    }
);

```

---

<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:** [September 14, 2023, 7:48am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/13 "2023-09-14T07:48:14Z")

</div>

@karan.sintal do you have a sample of your generated JWT token?

---

<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:** [September 14, 2023, 7:49am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/14 "2023-09-14T07:49:39Z")

</div>

@karan.sintal do note that for webinars, you might need some of these additional tokens such as `tk`

> **[Meeting SDK - web - client view - Webinars](https://developers.zoom.us/docs/meeting-sdk/web/client-view/webinars/#join-webinar-with-registration-required)**
>
> 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.

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 14, 2023, 9:22am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/15 "2023-09-14T09:22:43Z")

</div>

> [@chunsiong.zoom](#):
>
> do you have a sample of your generated JWT token?

this is my generated token

```auto
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBLZXkiOiJiVndseWFWc1RSU0pETjR4NERQVmt3Iiwic2RrS2V5IjoiYlZ3bHlhVnNUUlNKRE40eDREUFZrdyIsIm1uIjoiODY1NzM0OTE2ODIiLCJyb2xlIjowLCJpYXQiOjE2OTQ2ODMzMDUsImV4cCI6MTY5NDY5MDUwNSwidG9rZW5FeHAiOjE2OTQ2OTA1MDV9.VarvjvMxtHg430IXrChyue6aWd3hZH1JoW2o909xgjs

```

---

<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:** [September 14, 2023, 11:58pm UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/16 "2023-09-14T23:58:04Z")

</div>

@karan.sintal ,

have you tried joining with the `tk` token as well?

---

<div class="post-metadata">

**Author:** ![karan.sintal](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@karan.sintal](https://devforum.zoom.us/u/karan.sintal)\
**Post date:** [September 27, 2023, 10:49am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/17 "2023-09-27T10:49:08Z")

</div>

Hi @chunsiong.zoom ,

As per your suggestion I have generated now the token,  
but I’m getting API not enabled error, can you please let me know the process to Enable API?

---

<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:** [September 28, 2023, 8:25am UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/18 "2023-09-28T08:25:09Z")

</div>

I’ll PM you @karan.sintal

---

<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:** [October 28, 2023, 6:25pm UTC](https://devforum.zoom.us/t/facing-the-issues-please-use-host-alternative-host-to-start-the-webinar-while-joining-webinar/94426/19 "2023-10-28T18:25:45Z")

</div>

Closed on October 28, 2023, 6:25pm UTC

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