For some reason, I appear to be getting a 404 response when submitting a batch request like the one below. I'm submitting this one to the batch URL given by the batch <link> on the main feed. It is: https://www.google.com/calendar/feeds/linger%40setonhill.edu/private/full/batch
The request is submitted using HTTP POST. I'm using ClientLogin authentication, so I've set the "GoogleLogin auth" header. The "Content-Type" header is set to "application/atom.xml". <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:app=" http://www.w3.org/2007/app" xmlns:batch=" http://schemas.google.com/gdata/batch" xmlns:gCal=" http://schemas.google.com/gCal/2005" xmlns:gd=" http://schemas.google.com/g/2005"> <title type="text">My Batch Feed</title> <category scheme="http://schemas.google.com/g/2005#kind" term=" http://schemas.google.com/g/2005#event"/> <entry> <batch:id>1</batch:id> <batch:operation type="insert"/> <category scheme="http://schemas.google.com/g/2005#kind" term=" http://schemas.google.com/g/2005#event"/> <title type="text">Staff meeting Moved to different location- </title> <content type="text">The Staff meeting will be in the Media Sphere at 12:00 Noon. Bring your lunch. This will be on Tuesday, March 8, 2011.</content> <author> <email>[email protected]</email> </author> <gd:when endTime="2011-03-08T18:00:00" startTime= "2011-03-08T17:00:00"> <gd:reminder minutes="15"/> </gd:when> <gd:transparency value="http://schemas.google.com/g/2005 #event.opaque"></gd:transparency> <gd:eventStatus value="http://schemas.google.com/g/2005 #event.confirmed"></gd:eventStatus> <gd:who email="[email protected]" rel=" http://schemas.google.com/g/2005#event.attendee"> <gd:attendeeType value="http://schemas.google.com/g/2005 #event.required"/> </gd:who> <gd:who email="[email protected]" rel=" http://schemas.google.com/g/2005#event.attendee"> <gd:attendeeType value="http://schemas.google.com/g/2005 #event.required"/> </gd:who> <gd:where valueString="Media Sphere"/> </entry> <entry> <batch:id>2</batch:id> <batch:operation type="insert"/> <category scheme="http://schemas.google.com/g/2005#kind" term=" http://schemas.google.com/g/2005#event"/> <title type="text">Development Meeting</title> <content type="text"/> <author> <email>[email protected]</email> </author> <gd:when endTime="2011-02-25T21:00:00" startTime= "2011-02-25T20:00:00"></gd:when> <gd:transparency value="http://schemas.google.com/g/2005 #event.opaque"></gd:transparency> <gd:eventStatus value="http://schemas.google.com/g/2005 #event.confirmed"></gd:eventStatus> <gd:who email="[email protected]" rel=" http://schemas.google.com/g/2005#event.attendee"> <gd:attendeeType value="http://schemas.google.com/g/2005 #event.required"/> </gd:who> <gd:who email="[email protected]" rel=" http://schemas.google.com/g/2005#event.attendee"> <gd:attendeeType value="http://schemas.google.com/g/2005 #event.required"/> </gd:who> <gd:where valueString="My Office"/> </entry> </feed> In response, I receive an HTML (not XML) response with a 404 status code indicating "Cannot access the calendar you requested." If I POST the same thing to the main feed here: https://www.google.com/calendar/feeds/linger%40setonhill.edu/private/full I receive an XML feed of the current calendar items, so I doubt it's an authentication issue. Googling turned up almost nothing. Does anyone know why my batch request isn't working? -- You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/calendar/community/forum.html
