Refresh token expired

Description
Refresh token is expired and we do not know why.

Error
“Client error: POST https://zoom.us/oauth/token resulted in a 401 Unauthorized response:{“reason”:“Invalid Token!”,“error”:“invalid_request”}”

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Additional context
We saved the “refresh_token” and “access_token” of zomm master account in DB.
whenever “access_token” is expired (after 1 hour), we use “refresh_token” to get a new “access_token”,
then save both new “access_token” and “refresh_token” into DB for the next api call.

The above mention flow is working for sometime, but sometime we got 401 Unauthorized error.
We are sure that the zoom account is not logged in in other place other than our admin website,
so the “refresh_token” stored in DB is allway the new one.

Do you have any idea that why our “refresh_token” is expired?

Hey @zun

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. :slightly_smiling_face:

Checkout this related thread that may have the answer you are looking for:

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,
DeveloperBot

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