# How to extend the token date of expiry?{"code":124,"message":"Access token is expired."}

**URL:** <https://devforum.zoom.us/t/how-to-extend-the-token-date-of-expiry-code-124-message-access-token-is-expired/87346>\
**Category:** Meetings\
**Created:** [April 25, 2023, 1:57pm UTC](https://devforum.zoom.us/t/how-to-extend-the-token-date-of-expiry-code-124-message-access-token-is-expired/87346 "2023-04-25T13:57:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OGISEI](https://avatars.discourse-cdn.com/v4/letter/o/8797f3/32.png) [@OGISEI](https://devforum.zoom.us/u/OGISEI)\
**Post date:** [April 25, 2023, 1:57pm UTC](https://devforum.zoom.us/t/how-to-extend-the-token-date-of-expiry-code-124-message-access-token-is-expired/87346/1 "2023-04-25T13:57:12Z")

</div>

We are trying to be able to use Zoom’s API to publish meeting URLs to our Salesforce environment.  
In the Sandbox, I was able to issue the URL without any problems, so I released it to Production and now the access token expired.  
However, when I check oAuthApp, it does not seem to be expired yet.

 ![MicrosoftTeams-image (5)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/2/4271f262f75d898b4ad5874df4605b36ab21a103.png)

If I run it under a different account, I can do it without any problem.  
How do I update the token in this case?  
Also, I would like to know why this token expired and how to prevent it from expiring in the future.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 27, 2023, 8:15pm UTC](https://devforum.zoom.us/t/how-to-extend-the-token-date-of-expiry-code-124-message-access-token-is-expired/87346/2 "2023-04-27T20:15:10Z")

</div>

Hi @OGISEI  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
You can not modify the date of expire of tokens generated with OAuth apps, they are valid for 1 hour and in order to get a new one, you must use your refresh token.
