The access_token generated with the Server to Server Oauth app has an expiration time of 1 hour and once you generate a new token, the previous one gets invalidated.
It seems strange to me that you are getting this error if you are creating new tokens within minutes
Although the problem usually occurs in loop processing, this time there was only one call.
2023-02-16 13:00:02,913 /meetings/89525337799/status
In this case, I generated the token, called the API, and received a 401 error message that was caught. I immediately requested another token and it worked
here is an other example.
end point: https://api.zoom.us/v2/users/*user*/meetings
In a loop
Start at 2023-02-17 14:49:24,256
97 success API calls 2023-02-17 14:50:02,006 **ERROR**
300 success API calls 2023-02-17 14:54:01,941 **ERROR**
305 success API calls