Google Calendar API event insert always return 404 "not found" error -


i tried calendar insert example here : https://developers.google.com/google-apps/calendar/v3/reference/events/insert#examples no matter property use, 404 "not found" error. can shed 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 calendar "test" resource cannot found. have created calendar called "test"? if replace "test" "primary" (your main calendar) explorer should work.


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -