Hello, I am using OAuth token to create the appointments using zoom api. But after 1 hour token becomes expired and when I try to generate new access and refresh token from my old refresh token then the new token is not working. It gives the following issue:-
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://zoom.us/oauth/token resulted in a 401 Unauthorized response: {“reason”:“Invalid Token!”,“error”:“invalid_request”}
Above error indicates that your refresh token is replaced with new one in Zoom account but you are trying to send the obsolete token… Make sure yo are storing the original refresh token value in DB and use it when generating the request.
Try generating new access_token and refresh_token and then try the new refresh_token value. It works !