我的代码: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