# Invalid api key or secret error

**URL:** <https://devforum.zoom.us/t/invalid-api-key-or-secret-error/5227>\
**Category:** API and Webhooks\
**Created:** [July 29, 2019, 6:27am UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret-error/5227 "2019-07-29T06:27:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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 5, 2019, 6:47pm UTC](https://devforum.zoom.us/t/invalid-api-key-or-secret-error/5227/9 "2019-08-05T18:47:50Z")

</div>

Hey @umarraza2200,

Can you try turning your localhost into a [web server](https://ngrok.com/)?

Example here:

> [@Zoom Application Wrong redirect](https://devforum.zoom.us/t/zoom-application-wrong-redirect/4402/5):
>
> Hey @subhan, This issue only happens with localhost urls. To solve this you could use [https://ngrok.com/](https://ngrok.com/) to turn your localhost server into a free server with a url, and replace the localhost redirect url with the ngrok url. Instead of [http://localhost:8080/api/v1/zoom/complete-oauth](http://localhost:8080/api/v1/zoom/complete-oauth) it would be [https://d4c4477b.ngrok.io/api/v1/zoom/complete-oauth](https://d4c4477b.ngrok.io/api/v1/zoom/complete-oauth) This way you can still develop and test locally and have your redirect url work! Let me know if this helps!

Let me know if this works!

Thanks,  
Tommy

---

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