cancel
Showing results for 
Search instead for 
Did you mean: 
micho
New Member

Fail to get new refresh token for API

Hi, we are currently using the GoToWebinar API for getting back webinar information and we call the GoToWebinar API with a new access token every time using the refresh token.

And at the same time, we have a scheduled job running every day calling the following token API and store the refresh token in AWS Parameter Store.

Ref: https://developer.goto.com/guides/HowTos/05_HOW_refreshToken/ 

curl -X POST "https://api.getgo.com/oauth/v2/token" \
  -H "Authorization: Basic ${AuthCode}" \
  -H "Accept:application/json" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=refresh_token&refresh_token=${RefreshToken}"

 

Recently, we found that the scheduled job is failed due to the following error. 

{"error":"invalid_request","error_description":"Required parameter(s) missing or wrong."}

We observed the issue is caused by the outdated refresh token which should be updated in the scheduled job. Is the refresh token only being updated right before outdated? or we need to run the scheduled job more frequently? 

 

Thanks!

3 REPLIES 3
AshC
Retired GoTo Contributor

Re: Fail to get new refresh token for API

Hello @micho

All GoTo API inquiries need to use the support template located here:  https://developer.goto.com/support


Ash is a member of the LastPass Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!
ranaawaisijaz
New Contributor

Failed to get access token and refresh token

Hello,
I am using gotowebinar and wants to get a new access token using curl request in PHP
but I got an error "Required parameter(s) missing or wrong."
Please give me the solution for that using PHP curl request

AshC
Retired GoTo Contributor

Re: Failed to get access token and refresh token

Hello @ranaawaisijaz

For all developer inquires please use the template and form on this API site: https://developer.goto.com/support/


Ash is a member of the LastPass Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!