# Zoom Web SDK not working: invalid client\_id when attempting to log in

**URL:** <https://devforum.zoom.us/t/zoom-web-sdk-not-working-invalid-client-id-when-attempting-to-log-in/38128>\
**Category:** Web\
**Created:** [December 10, 2020, 3:30pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-working-invalid-client-id-when-attempting-to-log-in/38128 "2020-12-10T15:30:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZoomLinkManager](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoomlinkmanager/32/19998_2.png) [@ZoomLinkManager](https://devforum.zoom.us/u/ZoomLinkManager)\
**Post date:** [December 10, 2020, 3:30pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-working-invalid-client-id-when-attempting-to-log-in/38128/1 "2020-12-10T15:30:15Z")

</div>

**Description**  
When you try to log in to join a meeting using the WebSDK on the example app, it gives an ‘Invalid client\_id’ error.

**Error**  
Invalid client\_id: YjW1ox3SEmcjJSuwigCkQ (4,702)

**Which version?**  
latest

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

1. Run the example web app
2. Input valid Client ID and Secret into index.js
3. Enter valid meeting ID, password, name, and email into the form
4. Click log in
5. Get error

**Device (please complete the following information):**

- Device: Desktop
- OS: Windows 10
- Version: 87.0.4280.88 (Official Build) (64-bit) (cohort: Stable)
- Browser: Google Chrome

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 10, 2020, 11:44pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-working-invalid-client-id-when-attempting-to-log-in/38128/2 "2020-12-10T23:44:45Z")

</div>

Hey @ZoomLinkManager,

Thank you for reaching out to the Zoom Developer Forum. I would first make sure that you are making the function call to ZoomMtg.join() as outlined [here](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/meetings/join#launch). Then, ensure that the signature you generate is correct and matches the [documentation](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/meetings/join#launch).

On that same note, where are you getting the client\_id and how are you using it in your code? I would make sure that you are getting the [SDK Key and Secret](https://marketplace.zoom.us/docs/sdk/native-sdks/credentials#key-secret-2) from the App Credentials tab of your SDK Credentials app.

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![ZoomLinkManager](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoomlinkmanager/32/19998_2.png) [@ZoomLinkManager](https://devforum.zoom.us/u/ZoomLinkManager)\
**Post date:** [December 11, 2020, 2:26pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-working-invalid-client-id-when-attempting-to-log-in/38128/3 "2020-12-11T14:26:53Z")

</div>

Hello,

I have no idea how the client\_id is generated. I am using my JWT application credentials (my SDK and OAuth credentials give me an invalid parameter error) and when I search for that client\_id (YjW1ox3SEmcjJSuwigCkQ) on google, I see that there is a webpage with that same error with the same client\_id. That client\_id is not my JWT API key, nor is it my OAuth API key, nor is it my SDK API key. The example web app ([https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)) uses the built in ZoomMtg.generateSignature. The following is the login link that is generated: [https://zoom.us/oauth/signin?\_rnd=1607696742714&client\_id=YjW1ox3SEmcjJSuwigCkQ&redirect\_uri=https%3A%2F%2Fapplications.zoom.us%2Finstallation%2Fsdkhelper&response\_type=code&state=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJpbnRlcmdyYXRpb24iLCJzZGtVcmwiOiJhSFIwY0Rvdkx6RXlOeTR3TGpBdU1UbzVPVGs1TDIxbFpYUnBibWN1YUhSdGJBIiwiaXNzIjoid2ViIiwiZXhwIjoxNjA3NzAwMzM5LCJpYXQiOjE2MDc2OTY3Mzl9.W\_xg5Shd8oxRpPh3WsVvuCIPb9JPXVnH2jeZe4HRjwc&\_x\_zm\_rtaid=\_9o49IyjReW\_cwdl1itdBA.1607695660685.9498f83392423c1fa04a1d96085d4816&\_x\_zm\_rhtaid=430](https://zoom.us/oauth/signin?_rnd=1607696742714&client_id=YjW1ox3SEmcjJSuwigCkQ&redirect_uri=https%3A%2F%2Fapplications.zoom.us%2Finstallation%2Fsdkhelper&response_type=code&state=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJpbnRlcmdyYXRpb24iLCJzZGtVcmwiOiJhSFIwY0Rvdkx6RXlOeTR3TGpBdU1UbzVPVGs1TDIxbFpYUnBibWN1YUhSdGJBIiwiaXNzIjoid2ViIiwiZXhwIjoxNjA3NzAwMzM5LCJpYXQiOjE2MDc2OTY3Mzl9.W_xg5Shd8oxRpPh3WsVvuCIPb9JPXVnH2jeZe4HRjwc&_x_zm_rtaid=_9o49IyjReW_cwdl1itdBA.1607695660685.9498f83392423c1fa04a1d96085d4816&_x_zm_rhtaid=430)

I hope this helps

EDIT: My public keys are as follows, if that helps:  
JWT: KpTL6fmHSgquTazYhuTRew  
OAuth development: YPTP2pnWQkqrAHIZXTUiw  
OAuth production: \_bJLWj75S7eM3wfGsI\_kmQ  
SDK: 8gYBgNEl8reiCDDIbzEN0imaMcMS8ydvTtbP

EDIT 2: Yes, the example app calls ZoomMtg.join. The only change I have made is added the API keys.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 11, 2020, 11:39pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-working-invalid-client-id-when-attempting-to-log-in/38128/5 "2020-12-11T23:39:29Z")

</div>

Hey @ZoomLinkManager,

Thank you for providing additional information. Would you be able to share a public Git repo that includes the index.js file that is having issues? It sounds like you should be using the SDK key when [joining the meeting](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/meetings/join#launch) but I want to confirm this so I can provide a more specific solution.

Thanks,  
Max

---

<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:** [January 11, 2021, 9:39am UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-working-invalid-client-id-when-attempting-to-log-in/38128/6 "2021-01-11T09:39:39Z")

</div>

Closed on January 11, 2021, 9:39am UTC

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