Closed GoogleCodeExporter closed 9 years ago
In some other forums,I found that 'update' method requires all the
information.So it is better to use the 'patch' method.So i tried with patch
instead of update.At that time ,converting a short day event to all day and
vice versa is throwing error .
The exception is
The request 'Google.Apis.Requests.Request(patch @
https://www.googleapis.com/calendar/v3/calendars/<calendarId>/events/<eventId>?a
lt=json&prettyPrint=true)' has failed. The service calendar has thrown an
exception: Google.GoogleApiRequestException: Google.Apis.Requests.RequestError
Invalid or mismatching start and end times. [400]
Errors [
Message[Invalid or mismatching start and end times.] Location[ - ] Reason[invalid] Domain[global]
]
---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Google.Apis.Requests.Request.InternalEndExecuteRequest(IAsyncResult asyncResult)
When I am using the 'update' method,the conversion from allday to short day
event is working fine
Thanks,
Sreedevi
Original comment by sreedevi...@gmail.com
on 15 Jun 2012 at 7:59
old old issue with old classes.
If you still find this problem in the new code, please feel free to reopen this
issue.
Original comment by pele...@google.com
on 8 Dec 2013 at 5:45
Original issue reported on code.google.com by
sreedevi...@gmail.com
on 15 Jun 2012 at 6:47