Failed to refresh access token error after updating Google Adwords library version from v201708 to v201802

87 views
Skip to first unread message

Shafeena Kabir

unread,
Mar 5, 2018, 11:26:58 PM3/5/18
to AdWords API Forum
Hi team,
I am getting below error while making API calls after I have updated Adwords API version from 201708 to 201802. Please help to look into this issue.

Failed to refresh access token.
{
  "error" : "invalid_client",
  "error_description" : "The OAuth client was not found."

Vincent Racaza (AdWords API Team)

unread,
Mar 6, 2018, 1:41:23 AM3/6/18
to AdWords API Forum
Hi Shafeena,

Could you confirm if after your migration, you did not change the values of your OAuth2 credentials in your property file? If you did not change anything in your property file and if the user still exists in your AdWords account, then it should have worked in v201802 API version.

Based on the error description "The OAUth client was not found", it seems that the API user is not existing (or it has been removed) in your manager or client account, or the client ID was deleted in the Google API Console Credential page. So I can further investigate this, can you provide to me your complete error logs, clientCustomerId and the email address of your API user via Reply privately to author option?

Thanks,
Vincent
AdWords API Team

Shafeena Kabir

unread,
Mar 7, 2018, 11:57:34 PM3/7/18
to AdWords API Forum
Hi Vincent,
Thank you very much for your help!

I was able to figure out that the property file contained duplicate keys for OAuth2 client ID, client secret , refresh token , developer token etc after API version migration. The issue got resolved after the duplicate keys with blank values where removed.

Thanks,
Shafeena
Reply all
Reply to author
Forward
0 new messages