# ZAK Token Production Error : (Request failed with status code forbidden)

**URL:** <https://devforum.zoom.us/t/zak-token-production-error-request-failed-with-status-code-forbidden/78390>\
**Category:** Meetings\
**Tags:** api-requests, api\
**Created:** [November 7, 2022, 3:58am UTC](https://devforum.zoom.us/t/zak-token-production-error-request-failed-with-status-code-forbidden/78390 "2022-11-07T03:58:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bipulmgr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bipulmgr/32/42802_2.png) [@bipulmgr](https://devforum.zoom.us/u/bipulmgr)\
**Post date:** [November 7, 2022, 3:58am UTC](https://devforum.zoom.us/t/zak-token-production-error-request-failed-with-status-code-forbidden/78390/1 "2022-11-07T03:58:34Z")

</div>

### There is problem while fetching zak token in production.

**Request api : _[https://api.zoom.us/v2/users/{userId}/token?type=zak](https://api.zoom.us/v2/users/%7BuserId%7D/token?type=zak)_**

This request thrown an error with the message **“Request failed with status code forbidden”**.

Although while requesting from postman or localhost with same zoom access token, it is working.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [December 17, 2022, 3:02am UTC](https://devforum.zoom.us/t/zak-token-production-error-request-failed-with-status-code-forbidden/78390/2 "2022-12-17T03:02:48Z")

</div>

Hi @bipulmgr ,

it seems you may not be calling the API from your code correctly. Can you make sure that your headers are correct?
