I also read this here (https://developers.google.com/identity/protocols/OAuth2InstalledApp#offline)
Note that there are limits on the number of refresh tokens that will be > issued; one limit per client/user combination, and another per user across > all clients. You should save refresh tokens in long-term storage and > continue to use them as long as they remain valid. If your application > requests too many refresh tokens, it may run into these limits, in which > case older refresh tokens will stop working. > but not sure what is actually means? We have a unique refresh token saved for every client we manage. Thanks On Friday, September 28, 2018 at 4:42:39 PM UTC+1, [email protected] wrote: > > Hi, > > We manage multiple adwords accounts and have been doing so for some time > now without seeing this issue before. > > When we request a new access token with the refresh token we have saved > for a client: > > HTTP METHOD: POST > HEADERS: 'content-type': 'application/x-www-form-urlencoded' > URI: https://accounts.google.com/o/oauth2/token > BODY: > grant_type=refresh_token&client_id=<client_id>&client_secret=<client_secret>&refresh_token=<refresh_token> > > ( We use python and the request is being constructed and sent by - > google/oauth2/_client.py._token_endpoint_request() ) > > We get the following response: > > status: 400 > { > "error": "invalid_grant", > "error_description": "Bad Request" > } > > Now if we just redo the OAuth entirely for that client account then > everything starts working again - so we can be sure the client has not > revoked the refresh token from us. > > Our OAuth code has not changed in a long while and we cant seem to > understand what the issue is. > > Could you please advise. > > Thanks > Sanjay > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cbd3980d-b435-4ede-b733-8fb3109c987f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
