when I'm trying to insert a new event to my calendar I recive error:
Not Found [404] Errors [Message[Not Found] Location[ - ] Reason[notFound] Domain[global]]
I figured out that I have no access to a diffrent callendar than primary.
Here is my code:
Event newEvent = new Event()
{
Summary = ee[0],
Start = new EventDateTime()
{
DateTime = DateTime.Parse(ee[2] + "T" + ee[3] + ":00+02:00")
},
End=new EventDateTime()
{
DateTime=DateTime.Parse(ee[4] + "T" + ee[5] + ":00+02:00")
},
Location=ee[2],
};
EventsResource.InsertRequest ins = service.Events.Insert(newEvent, nazwa_cal);
Event doins = ins.Execute();
Console.WriteLine("Event created: {0}", doins.HtmlLink);
where cal_name is the name of my calendar I want to insert event to.
If I change the name to "primary" it works perfecty.
I followed this instructions but nothing changed: LINK
Thank You in advance
