# Cannot join web meeting

**URL:** <https://devforum.zoom.us/t/cannot-join-web-meeting/58071>\
**Category:** Android\
**Created:** [September 28, 2021, 12:11am UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071 "2021-09-28T00:11:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![yevgeniyk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yevgeniyk/32/31030_2.png) [@yevgeniyk](https://devforum.zoom.us/u/yevgeniyk)\
**Post date:** [September 28, 2021, 12:11am UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/1 "2021-09-28T00:11:49Z")

</div>

**Description**  
When meeting is created with Web SDK, Android client cannot join the meeting

**Which Mobile Video SDK version?**  
v1.1.1 (8665.0812)  
**To Reproduce(If applicable)**  
Start meeting using web video SDK  
Try tp join/create meeting with password from Android  
Got error 2014

Interestingly enough, i can start meeting with Android SDK and Web SDK client can join…

Thank you  
Yevgeniy

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 28, 2021, 10:29pm UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/2 "2021-09-28T22:29:14Z")

</div>

Hi @yevgeniyk,

According to our [error code documentation](https://marketplace.zoom.us/docs/sdk/video/android/errors), 2014 indicates that there were invalid parameters. Can you provide a code snippet showing how you are joining the session, as well as the payload of your JWT (with your credentials redacted)?

Thanks!

---

<div class="post-metadata">

**Author:** ![yevgeniyk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yevgeniyk/32/31030_2.png) [@yevgeniyk](https://devforum.zoom.us/u/yevgeniyk)\
**Post date:** [September 29, 2021, 3:05pm UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/3 "2021-09-29T15:05:43Z")

</div>

@jon.zoom,  
code on both sides are just demo apps.

on web,  
export const devConfig = {  
sdkKey: ‘_**’  
sdkSecret: '**_’,  
topic: ‘yktopic’,  
name: `YKWeb`,  
password: ‘12345’,  
signature: ‘’,  
};

on android app,  
payload of JWT is  
{“app\_key”:"\*\*\*",“version”:1,“iat”:1632926831,“exp”:1632941231,“user\_identity”:“user\_ykandr”,“tpc”:“yktopic”}

Thank you  
Yevgeniy

---

<div class="post-metadata">

**Author:** ![yevgeniyk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yevgeniyk/32/31030_2.png) [@yevgeniyk](https://devforum.zoom.us/u/yevgeniyk)\
**Post date:** [September 29, 2021, 3:08pm UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/4 "2021-09-29T15:08:33Z")

</div>

For both platform SDK key and secrets are the same

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 29, 2021, 9:04pm UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/5 "2021-09-29T21:04:03Z")

</div>

Hi @yevgeniyk,

Are you sure that you are setting the `sessionName` to the exact same value as the `tpc` provided in the JWT?

Thanks!

---

<div class="post-metadata">

**Author:** ![yevgeniyk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yevgeniyk/32/31030_2.png) [@yevgeniyk](https://devforum.zoom.us/u/yevgeniyk)\
**Post date:** [September 30, 2021, 4:02am UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/6 "2021-09-30T04:02:24Z")

</div>

@jon.zoom ,  
from BaseSessionActivity

```
    //Required
    sessionContext.sessionName = sessionName;
    sessionContext.userName = name;

    //GET START
    String token = Constants.TOKEN;
    if (TextUtils.isEmpty(token)) {
        token = JWTUtil.createJWTAccessToken(sessionName, name);

```

from JwtUtil

public static String createJWTAccessToken(String **topic** , String userName) {

```
    int version = BuildConfig.VERSION_CODE;
    long iat = System.currentTimeMillis() / 1000;

```

// long iat = System.currentTimeMillis() / 1000 - 24_60_60;  
long exp = iat + EXPIRED\_TIME;

```
    if (TextUtils.isEmpty(apiKey) || TextUtils.isEmpty(apiSecret) || TextUtils.isEmpty(topic)) {
        return "";
    }

    JSONObject headerObject = new JSONObject();
    JSONObject payLoadObject = new JSONObject();
    try {
        payLoadObject.put("app_key", apiKey);
        payLoadObject.put("version", version);
        payLoadObject.put("iat", iat);
        payLoadObject.put("exp", exp);

```

// payLoadObject.put(“tokenExp”, exp);  
// payLoadObject.put(“user\_identity”,userName);  
payLoadObject.put(“user\_identity”,“user\_” + userName);  
// payLoadObject.put(“user\_identity”,customIdentity);  
payLoadObject.put(“tpc”, **topic** );  
} catch (Exception e) {  
Log.e(TAG, e.toString());  
}  
looks like the same

Thank you  
Yevgeniy

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 30, 2021, 9:58pm UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/7 "2021-09-30T21:58:23Z")

</div>

Hi @yevgeniyk,

I am not able to reproduce the behavior you are seeing in the sample app. What are the concrete values you are entering into the sample app when trying to join the session?

Thanks!

---

<div class="post-metadata">

**Author:** ![yevgeniyk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yevgeniyk/32/31030_2.png) [@yevgeniyk](https://devforum.zoom.us/u/yevgeniyk)\
**Post date:** [October 1, 2021, 2:09pm UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/8 "2021-10-01T14:09:30Z")

</div>

@jon.zoom,  
values are in a chain above…  
do you use web-\>android or android-\>android?  
Android-\>android works.  
i will do another set of testing today  
again, behavior is:  
start web client: npm run start  
and try to join from android  
we can do remote debugging if necessary

Thank you  
Yevgeniy

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 1, 2021, 11:07pm UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/9 "2021-10-01T23:07:45Z")

</div>

Hi @yevgeniyk,

Thanks for clarifying that this issue is only present when the session is start from web. We will need to investigate further to determine if this is an issue with the Web SDK/sample app or the Android SDK/sample app. I will keep you updated as soon as we have any new information.

Thanks!

---

<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:** [November 1, 2021, 9:08am UTC](https://devforum.zoom.us/t/cannot-join-web-meeting/58071/10 "2021-11-01T09:08:34Z")

</div>

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