# Invalid api key or secret with OAuth token

**URL:** <https://devforum.zoom.us/t/invalid-api-key-or-secret-with-oauth-token/23473>\
**Category:** API and Webhooks\
**Created:** [July 7, 2020, 9:09pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret-with-oauth-token/23473 "2020-07-07T21:09:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 9, 2020, 10:45pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret-with-oauth-token/23473/2 "2020-07-09T22:45:06Z")

</div>

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

---

_[View the full topic](https://devforum.zoom.us/t/invalid-api-key-or-secret-with-oauth-token/23473)._
