# Joining Fail with Error Code 1 React App Typescript

**URL:** <https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560>\
**Category:** Web\
**Created:** [March 25, 2020, 10:00am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560 "2020-03-25T10:00:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![corrado4eyes](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/corrado4eyes/32/4110_2.png) [@corrado4eyes](https://devforum.zoom.us/u/corrado4eyes)\
**Post date:** [March 25, 2020, 10:00am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/1 "2020-03-25T10:00:54Z")

</div>

Hi! I’m sorry if this is the n-post about this error, but I couldn’t resolve it. I’m creating a react app using the web sdk. I followed the tutorial that starts at [https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate](https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate) splitting the code in 2: a firebase function where I generate the signature and a repository which receive from the function the signature and call ZoomMtg.init/join. I’m working from a machine which mount debian using the download app of zoom (I’ve also tried from my mac book and it’s the same) and creating a meeting from there, so the meetingId is real. The app is JWT type.

**Error**  
A popup with title as “Joining meeting timeout.” and description “joining fail”.  
{method: “join”, status: false, errorCode: 1, errorMessage: “joining fail”, result: null}

```
    dependencies: {
    "@testing-library/jest-dom": "^4.2.4",
    "@testing-library/react": "^9.3.2",
    "@testing-library/user-event": "^7.1.2",
    "@types/jest": "^24.0.0",
    "@types/jquery": "^3.3.33",
    "@types/jsonwebtoken": "^8.3.8",
    "@types/node": "^12.0.0",
    "@types/react": "^16.9.0",
    "@types/react-dom": "^16.9.0",
    "@types/react-redux": "^7.1.7",
    "@zoomus/websdk": "^1.7.2",
    "awesome-typescript-loader": "^5.2.1",
    "bootstrap": "^4.4.1",
    "firebase": "^7.12.0",
    "inversify": "^5.0.1",
    "inversify-react": "^0.4.3",
    "jsonwebtoken": "^8.5.1",
    "react-bootstrap": "^1.0.0-beta.17",
    "react-scripts": "3.4.0",
    "redux-devtools-extension": "^2.13.8",
    "reflect-metadata": "^0.1.13",
    "source-map-loader": "^0.2.4",
    "typescript": "3.8.3",
    "react": "16.8.6",
    "react-dom": "16.8.6",
    "redux": "3.7.2",
    "react-redux": "7.1.0",
    "jquery": "^3.4.1",
    "lodash": "^4.17.14",
    "redux-thunk": "2.2.0"
  }

```

This is my ZoomRepository which has getSignature and joinMeeting.

```
getSignature(config: any): Promise<string> {
    const getSignature = firebase.functions().httpsCallable("getSignature");
    return getSignature()
        .then((response: any) => {return Promise.resolve(response.data);})
        .catch((error: any) => {return Promise.reject(error.message);})
}

```

 ![Screenshot from 2020-03-25 10-17-55](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/624cb349c95029321fe3925e6db32f67effd5f51.png)

I’m using chrome, but the same error is thrown on firefox.

Until yesterday I’ve worked with the basic plan, but then in the evening I’ve upgraded the account to Pro. If you need it, this is the meetingId: 818435529. Let me know if you need more info, cheers!

---

<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:** [March 25, 2020, 7:56pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/2 "2020-03-25T19:56:02Z")

</div>

Hey @corrado4eyes, thanks for posting and using Zoom!

Seems like the issue could be with your signature. Can you send me one of your generated signatures to [developersupport@zoom.us](mailto:developersupport@zoom.us) so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![corrado4eyes](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/corrado4eyes/32/4110_2.png) [@corrado4eyes](https://devforum.zoom.us/u/corrado4eyes)\
**Post date:** [March 26, 2020, 7:51am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/3 "2020-03-26T07:51:28Z")

</div>

Yes sure… Signature: “”

---

<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:** [March 26, 2020, 6:25pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/4 "2020-03-26T18:25:50Z")

</div>

Hey @corrado4eyes, when [base 64 decoding](https://www.base64decode.org/) your signature I see both your meetingID and role are undefined.

 ![Screen Shot 2020-03-26 at 12.24.43 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7d646e23fbbe153b57c6bcd4dade8707de16f4af.png)

Make sure you are passing in your meetingID, and 0 or 1 for the role.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![corrado4eyes](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/corrado4eyes/32/4110_2.png) [@corrado4eyes](https://devforum.zoom.us/u/corrado4eyes)\
**Post date:** [March 27, 2020, 12:53am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/5 "2020-03-27T00:53:34Z")

</div>

Oh thanks for letting me notice about that! Fixed… However still getting joining fail

---

<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:** [March 27, 2020, 5:57am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/6 "2020-03-27T05:57:04Z")

</div>

Hey @corrado4eyes,

What meeting number are you using?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![corrado4eyes](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/corrado4eyes/32/4110_2.png) [@corrado4eyes](https://devforum.zoom.us/u/corrado4eyes)\
**Post date:** [March 27, 2020, 7:51am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/7 "2020-03-27T07:51:06Z")

</div>

The meeting id now is:

---

<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:** [March 30, 2020, 1:31am UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/8 "2020-03-30T01:31:36Z")

</div>

Hey @corrado4eyes,

Can you try the [updated signature code.](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature)

We added more expiry time to it.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:37pm UTC](https://devforum.zoom.us/t/joining-fail-with-error-code-1-react-app-typescript/9560/9 "2020-08-21T19:37:09Z")

</div>

Closed on August 21, 2020, 7:37pm UTC


