Hi, I am getting  following error ,while  refreshing my OAUTH 
access token for each google adwords sub clients. I have started getting 
them very frequently now. Please suggest if I am doing anything wrong?

ApiVersion: v201406 (lib18.3) 

     Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access 
token.
{
  "error" : "internal_failure"
}


       Code Snippest:

            AdWordsAppConfig adWordsAppConfig = new AdWordsAppConfig();
            OAuth2ProviderForApplications oAuth2Provider = new 
OAuth2ProviderForApplications(adWordsAppConfig);
            // isOffline is required for installed application
            oAuth2Provider.IsOffline = true;
            oAuth2Provider.RefreshAccessTokenIfExpiring(); // this method 
causing exception.

            AdWordsUser user = new AdWordsUser(headers);
            user.OAuthProvider = oAuth2Provider;
            return user;

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8fc84e49-6008-4d94-a810-e9b016985e60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to