Similar to this question (Requesting Access Token via Python) I desire to use oauth token to periodically hit the API. I have a (valid for next 30 minutes or so) access_token and a refresh_token associated with my never-going-to-be-published app.
When using recommended syntax with curl I’m hitting an “Internal Error” with “invalid_request”
Which App Type (OAuth / Chatbot / JWT / Webhook)?
How To Reproduce (If applicable)
Steps to reproduce the behavior:
- Make private app, with non-existent redirect URL since this will not be published for use by real users
- Use client_id and client_secret to generate initial access_token and refresh_token via API test webpage.
- Based on API docs, generate request using client_id, client_secret, and refresh_token to get a new access_token
curl -X POST -H "Content-Type:application/x-www-form-urlencoded" --user <id>:<secret> --data 'grant_type=refresh_token&refresh_token=<refresh_token_here>' https://zoom.us/oauth/token
- See error:
I feel this may be because I’ve not published the app (and don’t plan to). In the case that this is the issue, what can I do to generate a new access_token?