# Api key length error, must 22

**URL:** <https://devforum.zoom.us/t/api-key-length-error-must-22/19198>\
**Category:** Web\
**Created:** [May 27, 2020, 6:10am UTC](https://devforum.zoom.us/t/api-key-length-error-must-22/19198 "2020-05-27T06:10:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank2](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@frank2](https://devforum.zoom.us/u/frank2)\
**Post date:** [May 27, 2020, 6:10am UTC](https://devforum.zoom.us/t/api-key-length-error-must-22/19198/1 "2020-05-27T06:10:08Z")

</div>

**Description**  
I tried the Zoom web SDK to integrate in web HTML page. I used the cloud example from [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)

I replaced api token and other param but I am getting below error while initiating the meeting.

**Error**  
Api key length error, must 22

**Which version?**  
1.7.7

---

<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:** [June 2, 2020, 9:10pm UTC](https://devforum.zoom.us/t/api-key-length-error-must-22/19198/2 "2020-06-02T21:10:21Z")

</div>

Hey @frank2,

Please see my post here:

> [@My API\_Key is not 22 characters, so why is the code checking this condition? It is 36 characters!](https://devforum.zoom.us/t/my-api-key-is-not-22-characters-so-why-is-the-code-checking-this-condition-it-is-36-characters/19220/3):
>
> Hey @tanderson, Make sure you are using a [JWT App](https://marketplace.zoom.us/docs/guides/build/jwt-app) to get your API Key. The SDK App Key won’t work and is longer than 22 characters. Thanks, Tommy

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, 9:48pm UTC](https://devforum.zoom.us/t/api-key-length-error-must-22/19198/3 "2020-08-21T21:48:36Z")

</div>


