The form uses Zoom API to add the participants through Zoom OAuth application. For the first hour after I install an application (and an auth token is created) the form works perfecly. Auth token and refresh token are saved in a database. During this first hour I can refresh the token with no problem (both tokens are being saved in a database). Refreshing the token also works through Postman.
The problem occurs after this first hour. When I try to register for a webinar I’m getting an exception 401, because auth token is no longer valid. So I’m sending a POST request to refresh the token but getting this error:
{
“reason”: “Invalid Token!”,
“error”: “invalid_request”
}
What’s interesting I’m getting the same error when trying through Postman. Remember - it was working fine during the first hour.
I think I tried everything. Reinstalling the application doesn’t help - after one hour the problem is back.
I’m running out of ideas.
Thank you for your reply.
Regarding the topic you attached.
Every time i reinstall the application both tokens are being saved in a database. Just in case I just tried again.
I uninstalled the application.
I removed all the data from the token table in my database, to be sure a new value will be saved.
I installed the application again.
New token was added to the database.
I can register via the website form.
60 minutes later I try to register again, but I’m getting 401 response, because access token is no longer valid. Script tries to refresh the token and register again, but I’m getting a fatal error: Invalid token.
Multiple request - I don’t think so. I’m testing manually - two request during one hour.
Application uninstalled - no, I’m the only one working on this, but just in case I checked the logs - the application is installed.
In order to further investigate, can I kindly ask that you share a recent example (within the last 7 days) of one of the refresh tokens that failed? You can share this with me directly at developersupport@zoom.us. Please reference this thread in your email, and I will be happy to check our logs and further investigate for you.