I tried the calendar insert example from here : https://developers.google.com/google-apps/calendar/v3/reference/events/insert#examples No matter which property i use, i always get the 404 "not found" error. Anyone can shed some light on this? Many thanks!!!
POST https://www.googleapis.com/calendar/v3/calendars/test/events?sendNotifications=false&fields=start&key={YOUR_API_KEY}
Content-Type: application/json
Authorization: Bearer ya29.AHES6ZQaT3-Tj_bviwaY9Xi3gDspuBbCtEKtidnZkTXuWpI
X-JavaScript-User-Agent: Google APIs Explorer
{
"end": {
"date": "2012-07-11"
},
"start": {
"date": "2012-07-09"
}
}
response: 404 Not Found
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}
I believe it's telling you that the calendar "test" resource cannot be found. Have you created a calendar called "test"? If you replace "test" with "primary" (your main calendar) then the Explorer should work.