Re: Retry-interval when an access token could not be refreshed.

2016-04-28 Thread Biniam Asnake
This issue happened again last night. I posted a new question with "OAuthException: Credential could not be refreshed." title. It is not published yet but please take a look and reply ASAP. Thanks. On Thursday, April 21, 2016 at 10:49:30 PM UTC+2, Josh Radcliff (AdWords API Team) wrote: > > H

Re: Retry-interval when an access token could not be refreshed.

2016-04-21 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, The OAuth issue mentioned at the beginning of this post occurred over a year ago, so it's unlikely that it's related to the errors you are seeing today. When you retried, did it eventually succeed? Thanks, Josh, AdWords API Team On Thursday, April 21, 2016 at 8:33:48 AM UTC-4, Biniam Asna

Re: Retry-interval when an access token could not be refreshed.

2016-04-21 Thread Biniam Asnake
My application has a retry mechanism and I also retried manually. Is it related to the OAuth outage? Has it happened before? On Tuesday, April 19, 2016 at 11:23:26 PM UTC+2, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > When this occurs, do you retry the request for the access token? If no

Re: Retry-interval when an access token could not be refreshed.

2016-04-21 Thread Dorian Kind
If this only happened on this specific occasion, it might have been because of Google's OAuth2 outage on that date: http://mashable.com/2016/04/19/google-oauth-down/#FjNp2S9IUgqQ On Tuesday, April 19, 2016 at 4:21:24 PM UTC+2, Biniam Asnake wrote: > > It happened again. Please help. > > Here is

Re: Retry-interval when an access token could not be refreshed.

2016-04-19 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, When this occurs, do you retry the request for the access token? If not, please do so with an exponential backoff policy. Thanks, Josh, AdWords API Team On Tuesday, April 19, 2016 at 5:15:30 PM UTC-4, Biniam Asnake wrote: > > It happens intermittently. We have two apps that use the same ref

Re: Retry-interval when an access token could not be refreshed.

2016-04-19 Thread Biniam Asnake
It happens intermittently. We have two apps that use the same refresh token and one app fails, I switch to the other one and sometimes it works. Please help ASAP since this issues might happen at night when no body is monitoring the system. Regards, On Tuesday, April 19, 2016 at 8:15:45 PM UTC

Re: Retry-interval when an access token could not be refreshed.

2016-04-19 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, Does this *always* fail, or are you sometimes able to get an access token using the same exact set of credentials? Thanks, Josh, AdWords API Team On Tuesday, April 19, 2016 at 10:21:24 AM UTC-4, Biniam Asnake wrote: > > It happened again. Please help. > > Here is the stacktrace. > > > > > >

Re: Retry-interval when an access token could not be refreshed.

2016-04-19 Thread Biniam Asnake
It happened again. Please help. Here is the stacktrace. com.google.api.ads.common.lib.exception.OAuthException: Credential could not be refreshed. A newly generated refresh token may be required. at com.google.api.ads.common.lib.auth.OfflineCredentials. generateCredential(Offlin

Re: Retry-interval when an access token could not be refreshed.

2016-03-19 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, Since this thread dates back to December 2014, it's likely that this is a separate issue. Could you provide more details, such as the errors you are encountering when trying to get an access token from your refresh token? Thanks, Josh, AdWords API Team On Wednesday, March 16, 2016 at 10:14

Re: Retry-interval when an access token could not be refreshed.

2016-03-18 Thread Biniam Asnake
We are still getting this exception. Any solution? On Monday, December 1, 2014 at 11:41:58 PM UTC+1, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > Some improvements were made within the last few days that should have > resolved this issue. Please let me know if you are still seeing freque

Re: Retry-interval when an access token could not be refreshed.

2014-12-01 Thread Josh Radcliff (AdWords API Team)
Hi, Some improvements were made within the last few days that should have resolved this issue. Please let me know if you are still seeing frequent failures on OAuth requests. Thanks, Josh, AdWords API Team On Monday, October 6, 2014 9:15:53 AM UTC-4, Josh Radcliff (AdWords API Team) wrote: >

Re: Retry-interval when an access token could not be refreshed.

2014-10-06 Thread Josh Radcliff (AdWords API Team)
Hi, I've seen some other reports of increased OAuth request failures. I'm following up with the OAuth team and will post back here once I have more information. I recommend adding some retry logic around your OAuth requests, preferably with an exponential backoff on wait times. Others have had

Retry-interval when an access token could not be refreshed.

2014-10-02 Thread Zweitze
Hi Sometimes I get an error when I refresh an access token. See also *this issue * in the .NET client library. The library maintainer comments "I don't expect to see this kind of exceptions on a regular basis". So Murphy's law kicks i