You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Event event = new Event()
.setSummary("Vacation from app")
.setLocation("800 Howard St., San Francisco, CA 94103")
.setDescription("A chance to hear more about Google's developer products.");
DateTime startDateTime = new DateTime("2020-11-10T00:20:50.52Z");;
EventDateTime start = new EventDateTime()
.setDate(startDateTime)
.setTimeZone("Europe/Kiev");
event.setStart(start);
DateTime endDateTime = new DateTime("2020-11-10T23:20:50.52Z");
EventDateTime end = new EventDateTime()
.setDate(endDateTime)
.setTimeZone("Europe/Kiev");
event.setEndTimeUnspecified(true);
event.setEnd(end);
googleCalendar.events()
.insert(calendarId, event)
.execute();`
I want to create Event in calendar with such code
But receive a response
{ "code" : 400, "errors" : [ { "domain" : "global", "message" : "Bad Request", "reason" : "badRequest" } ], "message" : "Bad Request" }
From this message I really do not understand which data is bad...
The text was updated successfully, but these errors were encountered: