我的代碼:Google日曆將事件結果插入「遠程服務器返回錯誤:(400)錯誤請求。」錯誤
我有這在我的代碼隱藏文件。
Event newEvent = new Event
{
Summary = "Tin Roof",
Description = "Its gonna be epic",
Location = "Claremont",
Start = new EventDateTime
{
Date = "2012-02-14",
DateTime = "2011-06-03T10:00:00.000-07:00",
TimeZone = "Cape Town",
},
};
_service.Events.Insert(newEvent, "[email protected]").Fetch();
這個錯誤我得到了我嘗試將事件插入日曆的行。 錯誤:
Google.Apis.Requests.RequestError
Required [400]
Errors [
Message[Required] Location[ - ] Reason[required] Domain[global]
]
有什麼想法? 在此先感謝!
對此的任何解決方案?使用網址https://www.googleapis.com/calendar/v3/calendars/[email protected]/events?alt=json&prettyPrint=true發現相同的錯誤 – Keith