how to catch OAUTH_TOKEN_INVALID error

24 views
Skip to first unread message

G.E.G. Camp-Management

unread,
Mar 23, 2017, 4:26:40 PM3/23/17
to AdWords API Forum
Hi

How can I catch the error 

OAUTH_TOKEN_INVALID

its appear after the access token expire 
i need to catch it to redirect the user to the connect page with a message and not see the error ???

thanks for help

Peter Oliquino

unread,
Mar 23, 2017, 10:38:22 PM3/23/17
to AdWords API Forum
Hi,

Could you confirm if you are using any of the AdWords API's client libraries? I asked because access tokens are automatically refreshed when you use them and you would no longer have a need to implement a try and catch for the mentioned error.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages