googleads / googleads-dotnet-lib

Google Ad Manager SOAP API .NET client library
Apache License 2.0
108 stars 199 forks source link

Problem whit refresh access token after update api version 201809 #205

Closed sesirimarco closed 5 years ago

sesirimarco commented 5 years ago

After updating to version 201809, my application returns the following error:

Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access token. --->  Google.Apis.Auth.OAuth2.Responses.TokenResponseException: 
Error:"invalid_client", Description:"The OAuth client was not found.", Uri:""

I tried to generate new update token but it did not work Any idea? I need help please.

Gumdro commented 5 years ago

Have you double checked your app.config file for issues? If you update through nugget from a previous version it will append all the setup info into the app.config file even if it already exists. When that happens it will cause this same type of error to occur since it is reading the last config entry which is null on append.

sesirimarco commented 5 years ago

yes, the problem was app.config file. I reversed the changes in the app.config file and the problem was fixed thanks

El mié., 9 ene. 2019 a las 14:05, Brandon Batton (notifications@github.com) escribió:

Have you double checked your app.config file for issues? If you update through nugget from a previous version it will append all the setup info into the app.config file even if it already exists. When that happens it will cause this same type of error to occur since it is reading the last config entry which is null on append.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/googleads/googleads-dotnet-lib/issues/205#issuecomment-452763474, or mute the thread https://github.com/notifications/unsubscribe-auth/AT9ZaMMnWvQq18zD37450Xr_2MivQYkhks5vBiFngaJpZM4ZzxxN .