Getting below error while creating a token through google api

53 views
Skip to first unread message

Hanuman Ram Kumawat

unread,
Oct 13, 2016, 9:29:18 AM10/13/16
to AdWords API Forum
Hi All,

I am trying to get token from google API but getting the below error

Note: But when I am trying this on Windows system, working fine but not working on Linux system.

2016-10-10 23:55:08,906 ERROR [STDERR] (http-0.0.0.0-8080-8) com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request {   "error" : "invalid_grant",   "error_description" : "Invalid JWT: Token must be a short-lived token and in a reasonable

Thanks,
Hanuman

Vishal Vinayak (Adwords API Team)

unread,
Oct 13, 2016, 4:23:10 PM10/13/16
to AdWords API Forum
Hi Hanuman, 

Looks like you might have missed some configuration (client ID, client secret, developer token etc.) or not used the correct values on your Linux system. Could you please double check if you are using correct values in your properties file? Please use this forum post as a reference. 

If that doesn't solve the problem, could you please also check if your system clock on the Linux system is correct? 

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages