# 401 Unauthorized error if the API that calls Zoom is hosted in Azure

**URL:** <https://devforum.zoom.us/t/401-unauthorized-error-if-the-api-that-calls-zoom-is-hosted-in-azure/89386>\
**Category:** Meetings\
**Tags:** api\
**Created:** [May 31, 2023, 4:47pm UTC](https://devforum.zoom.us/t/401-unauthorized-error-if-the-api-that-calls-zoom-is-hosted-in-azure/89386 "2023-05-31T16:47:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ltechera](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ltechera/32/48572_2.png) [@ltechera](https://devforum.zoom.us/u/ltechera)\
**Post date:** [May 31, 2023, 4:47pm UTC](https://devforum.zoom.us/t/401-unauthorized-error-if-the-api-that-calls-zoom-is-hosted-in-azure/89386/1 "2023-05-31T16:47:34Z")

</div>

I have a Node.js API that connects to the Zoom API to get some recordings and then sends those recordings into a Salesforce database.

If I run my API locally and call it from Postman, everything works fine and the files are saved successfully.

But if I deploy my API into an Azure app service to a production environment, the Zoom API call inside my API returns error “Request failed with status code 401”.

I understand there could be a restriction issue because I’m trying to access the Zoom API from a third party service.  
Is there a way I could exempt my Logic App from getting 401 error?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 31, 2023, 7:44pm UTC](https://devforum.zoom.us/t/401-unauthorized-error-if-the-api-that-calls-zoom-is-hosted-in-azure/89386/2 "2023-05-31T19:44:53Z")

</div>

Hi @ltechera ,

I am unfamiliar with this workflow, but could this help? [https://support.zoom.us/hc/en-us/articles/15053773250573-Migrating-the-Zoom-app-in-Azure-to-OAuth](https://support.zoom.us/hc/en-us/articles/15053773250573-Migrating-the-Zoom-app-in-Azure-to-OAuth)
