Google Calendar API

596 views
Skip to first unread message

Jules Pruvost

unread,
Nov 10, 2022, 8:38:02 AM11/10/22
to Google Ads API and AdWords API Forum

So a couple of weeks ago I started following this tutorial on the google API in java. https://developers.google.com/calendar/api/quickstart/java. The first day it worked perfectly but after that I just kept getting these errors and I don't know what I have to do.

I am using the same code as in the tutorial but I keep getting this error:

Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request POST https://oauth2.googleapis.com/token { "error": "invalid_grant", "error_description": "Bad Request" }

I am running this code on IntellIJ. 

I have tried to create new Credentials, refresh the client secret, I have tried to publish the app and add new emails to test the it but nothing works.

I have been searching for a while now and I am still nowhere. 

Google Ads API Forum Advisor

unread,
Nov 10, 2022, 11:48:49 AM11/10/22
to julespru...@gmail.com, adwor...@googlegroups.com
Hi Jules,

Thank you for raising your concern to our team.

Please note that this forum is dedicated for the Google Ads API related concerns and issues only. Since the issue that you've raised is related to the Google Calendar API, then I am afraid that we would not be able to provide support here as it is outside of our scope already. With this, try reaching out to the more equipped team that can provide support to your concern via this link.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2g2NS8:ref
Reply all
Reply to author
Forward
0 new messages