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. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b0da64bb-d6f1-49f9-890f-babbcf255568n%40googlegroups.com.

Reply via email to