我的代码:
我的代码隐藏文件中有这个。
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, "validcalendarId@group.calendar.google.com").Fetch();
这是我在尝试将事件插入日历时遇到的错误。错误:
Google.Apis.Requests.RequestError
Required [400]
Errors [
Message[Required] Location[ - ] Reason[required] Domain[global]
]
有什么想法吗?提前致谢!