Access token is expired

Description
When installed Zoom app to moodle 3.4 I get error Access token is expired. After refreshing API secret nothing happens, same error

Error
Access token is expired

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

Which Endpoint/s?
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body
  2. See error

Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Hey @atria.rs, thanks for posting and using Zoom!

Can you please reach out to Moodle since they built the integration?

Here is their support page: https://zoomsupport.cosocloud.com/dashboard

Thanks,
Tommy

Hi @atria.rs,

Was the token working before ?

Can you make sure that you are using the correct credentials to generate the token?

To get your app credentials, you first need to create an app in our marketplace. To know more, please visit: https://marketplace.zoom.us/docs/guides/getting-started/about-marketplace

Once you create an app, please visit this link to know more about getting the credentials:
https://marketplace.zoom.us/docs/guides/authorization/credentials

If you need to get your JWT credentials, please visit:
https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app#credentials

Thanks,
Ojus

1 Like

Hi, credentials are OK, It’s a first time we are trying to implement it in moodle, hence the error message, I’ve seen more on moodle plug in comments.

Hey @atria.rs,

Were you able to resolve the issue? Did Moodle help?

Thanks,
Tommy

Unfortunatelly no :frowning:
Still waiting for reply

Hey @atria.rs,

Can you try reinstalling the app?

Also have you seen these Moodle support documents: https://zoomsupport.cosocloud.com/knowledgeBase

Thanks,
Tommy

Great article. This help me, but only the moodle admin is able to join the video session, students or teachers can’t. When they try to join, they get the error “Somethings happens. Connect to administrators”. Any help will be really appreciated, thanks

Hey @andydoe19,

Please reach out to the Moodle support: https://zoomsupport.cosocloud.com/dashboard

Thanks,
Tommy

Hi @ojus.zoom ,
I am also facing the same problem ‘Connection status: Connection failed: Access token is expired.’ error.
when I integrate zoom with moodle LMS.It is working fine during development time in development server.But later I put it in live server I face the above problem.Please guide me to resolve this problem

Hey @jigeeshu ,

Please reach out to the Moodle support: https://zoomsupport.cosocloud.com/dashboard

Thanks,
Tommy

Last week i have problem: Connection status: The connection failed: Access token is expired.

is there any solution for this problem?
FYI: On API Call Logs the expiration time is always “Expires=Thu, 01-Jan-1970” even zoom expiration time is configure to 1 week. https://imgur.com/f9WQtoH

Hey @noc,

Did you refresh your access token? Zoom access tokens only last one hour.

Thanks,
Tommy

Hi! I have encountered the same error but able to fix it.
It was because the server was not set to the correct time that’s why whatever refresh you do with the token it will never work…

Please check the settings of your cloud / physical server. Hope this helps!

1 Like

Thanks for sharing your solution @auranicamilanio! :slight_smile:

-Tommy