# Not able to create meeting from Prod while it is working in Local

**URL:** <https://devforum.zoom.us/t/not-able-to-create-meeting-from-prod-while-it-is-working-in-local/49463>\
**Category:** API and Webhooks\
**Created:** [May 3, 2021, 3:36pm UTC](https://devforum.zoom.us/t/not-able-to-create-meeting-from-prod-while-it-is-working-in-local/49463 "2021-05-03T15:36:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![acadmitrademo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/acadmitrademo/32/19143_2.png) [@acadmitrademo](https://devforum.zoom.us/u/acadmitrademo)\
**Post date:** [May 3, 2021, 3:36pm UTC](https://devforum.zoom.us/t/not-able-to-create-meeting-from-prod-while-it-is-working-in-local/49463/1 "2021-05-03T15:36:54Z")

</div>

Using the create meeting api and it is working fine in local and after deploying it is throwing the below error.  
**Error**  
The full error message or issue you are running into.  
Unauthorized || {“code”:124,“message”:“Access token is expired.”}

Which App Type :JWT

Steps to reproduce the behavior:

1. Request URL: [https://api.zoom.us/v2/](https://api.zoom.us/v2/)  
2:Body :{“Uuid”:“5DVCAed6TmS5b7Zx8RRxwg==”,“Topic”:“Integrate zoom - Acadmitra”,“Type”:2,“StartTime”:“2021-05-03T09:06:20+00:00”,“Duration”:30,“Timezone”:“Asia/Calcutta”,“Password”:“12345”,“Agenda”:null,“StartUrl”:“[Launch Meeting - Zoom](https://us04web.zoom.us/s/71744041733?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiI0cmxRT1hiNFNyeWdHTi1FV0hIbXN3IiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6InVzMDQiLCJjbHQiOjAsInN0ayI6IllyWmk2X1hrX0tKd3BsTGR2UzA5UFFoNjBuV1RiaXZhMEZ2ZGtNdEtQWUUuQmdZZ1VtOUxaRGh0YURScFRHRjNSSFZpYUZBcmJGRndaemx6WWtzME0xQkZSVnBBTmpVek1qTTJZbUUyTkRabE1USTJNall5TURJNU1UTmtOREZpTXpBMU1qazBPVEZsWVRWbU1tUXpZak14WldRMVlXUXhNek5tTTJZeU9HTTNPRE5tTUFBZ2RFaE1lVTVwVTNwUFdFUXJaRWhVTVhObk1qY3Jha1p4VTNab2JFSlBObE1BQkhWek1EUUFBQUY1TVhwN0xnQVNkUUFBQUEiLCJleHAiOjE2MjAwMzk5ODEsImlhdCI6MTYyMDAzMjc4MSwiYWlkIjoiVVZQdUl2bElSSU9ucG9vak9xcGlJQSIsImNpZCI6IiJ9.k49xJ64ID-1g2o5DQezPZlxX4IpLP9XRviAzlbIS5DU%22,%22JoinUrl%22:%22https://us04web.zoom.us/j/71744041733?pwd=ck9ER2VTa3NxdUlvV1ZoN05EM2hydz09%22,%22Recurrence%22:null,%22Settings%22:%7B%22host_video%22:false,%22participant_video%22:false,%22cn_meeting%22:false,%22in_meeting%22:false,%22join_before_host%22:false,%22mute_upon_entry%22:false,%22watermark%22:false,%22use_pmi%22:false,%22ApprovalType%22:2,%22RegistrationType%22:0,%22Audio%22:%22voip%22,%22AutoRecording%22:%22none%22,%22enforce_login%22:false,%22enforce_login_domains%22:%22%22,%22AlternativeHosts%22:%22%22%7D,%22Id%22:%2271744041733)”}

2. Request : {  
“uuid”: null,  
“topic”: “Integrate zoom - Acadmitra”,  
“type”: 2,  
“start\_time”: “2021-05-03T21:03:35.0287115+05:30”,  
“duration”: 30,  
“timezone”: null,  
“password”: “12345”,  
“agenda”: null,  
“start\_url”: null,  
“join\_url”: null,  
“recurrence”: null,  
“settings”: null,  
“id”: null  
}

Error : Unauthorized || {“code”:124,“message”:“Access token is expired.”}

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 4, 2021, 2:37pm UTC](https://devforum.zoom.us/t/not-able-to-create-meeting-from-prod-while-it-is-working-in-local/49463/2 "2021-05-04T14:37:13Z")

</div>

Hi @acadmitrademo,

How are you generating your JWT token? Based on the error you’re getting, this suggests the token’s expiration period has passed.

Do you run into the same issue when grabbing a new token from the Zoom Marketplace UI? (See the bottom of this [post here](https://devforum.zoom.us/t/finding-your-api-key-secret-credentials-in-marketplace/3471) for grabbing a new token and setting the expiration).

Let me know—thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 4, 2021, 12:37am UTC](https://devforum.zoom.us/t/not-able-to-create-meeting-from-prod-while-it-is-working-in-local/49463/3 "2021-06-04T00:37:49Z")

</div>

Closed on June 4, 2021, 12:37am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
