# Invalid access code in response

**URL:** <https://devforum.zoom.us/t/invalid-access-code-in-response/1207>\
**Category:** API and Webhooks\
**Created:** [April 25, 2018, 10:00am UTC](https://devforum.zoom.us/t/invalid-access-code-in-response/1207 "2018-04-25T10:00:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gnana\_Gracy\_Antony\_S](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@Gnana\_Gracy\_Antony\_S](https://devforum.zoom.us/u/Gnana_Gracy_Antony_S)\
**Post date:** [April 25, 2018, 10:00am UTC](https://devforum.zoom.us/t/invalid-access-code-in-response/1207/1 "2018-04-25T10:00:48Z")

</div>

Am able to generate api key and secret and used this to get access token from&nbsp;[https://jwt.io/](https://jwt.io/) as per the instructions given.&nbsp;

 ![](https://support.zoom.us/hc/user_images/d5A6J5nJgFq-b5Er1ssADQ.png)

when I use any api from Postman I get&nbsp;

“code”: 124,  
“message”: “Invalid access token.”

I had tried several times to get new secret and key and tokens and tried. Still i face the issue.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Kawamura\_Makoto](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Kawamura\_Makoto](https://devforum.zoom.us/u/Kawamura_Makoto)\
**Post date:** [April 26, 2018, 10:40pm UTC](https://devforum.zoom.us/t/invalid-access-code-in-response/1207/2 "2018-04-26T22:40:56Z")

</div>

Hi,

I think you should modify the payload to generate an appropriate access token.  
As written in the documents, the payload must include “iss” and"exp" parameters.  
“iss” represents you API KEY in your developer account.  
“exp” represents the expiration date of the token.

When using POSTMAN, the article in developer blog below will be useful.

[https://developer.zoom.us/blog/using-zoom-apis-version-2-with-postman/](https://developer.zoom.us/blog/using-zoom-apis-version-2-with-postman/)

Makoto
