Additional context
I am not sure why this isn’t working. When I get the initial access token, I can make requests just fine. I store the refresh token and when the access token expires after an hour, I try to refresh it and get this error.
According to the docs (https://marketplace.zoom.us/docs/guides/auth/oauth#refreshing), I should set grant_type and refresh_token as query params. However, someone notes (REST API error on OAuth token refresh) that it should really be form encoded. But neither seem to work for me. My app is listed on the marketplace.
I see that some people make the mistake of not storing the latest refresh token but that is not the case here, because I get this error on the first attempt. I also see that some have had issues when using the new access token immediately after receiving it but that is obviously also not the case as I never receive a new one . I am not sure what to do from here.
Any hints on how to debug this would be greatly appreciated. It’s quite frustrating to work with because I have to re-authorize and wait for the token to expire to try something out and I don’t know what else to try at this point.
We have business account, In SDK when joining meeting it is giving error. here is detail-
localJsonpCallback({status: false, errorCode: 200, errorMessage: “The signature has expired.”}) errorCode: 200 errorMessage: "The signature has expired." status: false
So for future visitors of this thread, it seems to be resolved for me now. I didn’t change any code, so I am not sure what caused it. I did do one thing though, with Tommys help: I went to the “Test the App Locally” tab in the management UI, clicked “uninstall” and then “install”.
I have had one report of an invalid token after doing this, but I am currently unable to reproduce it so I am crossing my fingers that it’s now working.
I am having the same issue with my user managed app. All token refresh requests get the same invalid token error. I’ve ensured all the needed headers are present and that I am for sure sending the refresh token. The initial token works for all requests, but I can never refresh them. Any debugging suggestions?