# Error: Invalid api key or secret

**URL:** <https://devforum.zoom.us/t/error-invalid-api-key-or-secret/27843>\
**Category:** API and Webhooks\
**Created:** [August 22, 2020, 4:48am UTC](https://devforum.zoom.us/t/error-invalid-api-key-or-secret/27843 "2020-08-22T04:48:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [August 25, 2020, 5:39pm UTC](https://devforum.zoom.us/t/error-invalid-api-key-or-secret/27843/4 "2020-08-25T17:39:08Z")

</div>

Hey @Ansh,

Please see my post here:

> [@Invalid api key or secret with OAuth token](https://devforum.zoom.us/t/invalid-api-key-or-secret-with-oauth-token/23473/2):
>
> Hey @venkat.sai, The grant type of client\_credentials will only work with [Zoom Chatbots](https://marketplace.zoom.us/docs/guides/chatbots/installation-and-authentication). You need to use the [OAuth grant type of authorization\_code](https://marketplace.zoom.us/docs/guides/auth/oauth#getting-access-token). Can you share a screenshot and steps to reproduce this error: “Note: if we use the grant type as Authorization code we are getting page not found.”. Thanks, Tommy

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/error-invalid-api-key-or-secret/27843)._
