Ok, I fixed my code so it's submitting the same XML I receive, with
just the updated title.  I'm still getting an error 400 Bad Request.
This time it's telling me I have an "Invalid date/time format" in
either my published or updated element.

Here's the trace:
GET
/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s?gsessionid=Nn0ECegsJpU
HTTP/1.1
Authorization: GoogleLogin
auth=DQAAAG8AAAC1smnTSbLuGx64kgwmtqwaMANJqVOdDgfrBaX1IT8s1U-2w9uIj5OzuZ6ERJPQXC7w0nDJBgeTdmBTI2XHp4CfSSR9hsaepmzFnwkLanmuAN4pUpqlU9w0xsBTfD1igl2fT0hH-ojbEp9PFKIx8dZd
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
Host: www.google.com
Proxy-Connection: Keep-Alive


HTTP/1.1 200 OK
Last-Modified: Thu, 27 Jul 2006 04:30:12 GMT
Cache-Control: max-age=0, must-revalidate, private
Content-Type: application/atom+xml; charset=UTF-8
Content-Length: 1765
Date: Sat, 29 Jul 2006 09:27:08 GMT
Server: GFE/1.3

<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns='http://www.w3.org/2005/Atom'
xmlns:gd='http://schemas.google.com/g/2005'>
<id>http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s</id>
<published>2006-07-27T04:30:12.000Z</published>
<updated>2006-07-27T04:30:12.000Z</updated>
<category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'></category>
<category scheme='http://schemas.google.com/g/2005'
term='http://schemas.google.com/g/2005#event'></category>
<title type='text'>test</title>
<content type='text'></content>
<link rel='alternate' type='text/html'
href='http://www.google.com/calendar/event?eid=YmZibmtpN3JsZzJwbGVoaXE5dDI4dWxqMXMgcmF6b3JkZWFkMkBnbWFpbC5jb20'
title='alternate'></link>
<link rel='self' type='application/atom+xml'
href='http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s'></link>
<link rel='edit' type='application/atom+xml'
href='http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s/63289657812'></link>
<author>
<name>Razor Dead</name>
<email>[EMAIL PROTECTED]</email>
</author>
<gd:comments><gd:feedLink
href='http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s/comments'></gd:feedLink></gd:comments>
<gd:visibility
value='http://schemas.google.com/g/2005#event.default'></gd:visibility>
<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:when startTime='2006-07-26T03:00:00.000-07:00'
endTime='2006-07-26T04:00:00.000-07:00'><gd:reminder
minutes='-1'></gd:reminder></gd:when>
<gd:where valueString=''></gd:where>
</entry>

------------------------------------------------------------------

POST
/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s/63289657812?gsessionid=HIQwmM-k-tQ
HTTP/1.1
Authorization: GoogleLogin
auth=DQAAAG8AAAC1smnTSbLuGx64kgwmtqwaMANJqVOdDgfrBaX1IT8s1U-2w9uIj5OzuZ6ERJPQXC7w0nDJBgeTdmBTI2XHp4CfSSR9hsaepmzFnwkLanmuAN4pUpqlU9w0xsBTfD1igl2fT0hH-ojbEp9PFKIx8dZd
Content-Type: application/atom+xml
X-HTTP-Method-Override: PUT
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
Host: www.google.com
Content-Length: 1758
Proxy-Connection: Keep-Alive
Pragma: no-cache

<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom";
xmlns:gd="http://schemas.google.com/g/2005";>
<id>http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s</id>
<published>2006-07-27T04:30:12.000Z</published>
<updated>2006-07-27T04:30:12.000Z</updated>
<category scheme="http://schemas.google.com/g/2005#kind";
term="http://schemas.google.com/g/2005#event"/>
<category scheme="http://schemas.google.com/g/2005";
term="http://schemas.google.com/g/2005#event"/>
<title type="text">test2</title>
<content type="text"/>
<link
href="http://www.google.com/calendar/event?eid=YmZibmtpN3JsZzJwbGVoaXE5dDI4dWxqMXMgcmF6b3JkZWFkMkBnbWFpbC5jb20";
rel="alternate" title="alternate" type="text/html"/>
<link
href="http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s";
rel="self" type="application/atom+xml"/>
<link
href="http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s/63289657812";
rel="edit" type="application/atom+xml"/>
<author>
<name>Razor Dead</name>
<email>[EMAIL PROTECTED]</email>
</author>
<gd:comments>
<gd:feedLink
href="http://www.google.com/calendar/feeds/default/private/full/bfbnki7rlg2plehiq9t28ulj1s/comments"/>
</gd:comments>
<gd:visibility value="http://schemas.google.com/g/2005#event.default"/>
<gd:transparency
value="http://schemas.google.com/g/2005#event.opaque"/>
<gd:eventStatus
value="http://schemas.google.com/g/2005#event.confirmed"/>
<gd:when endTime="2006-07-26T04:00:00.000-07:00"
startTime="2006-07-26T03:00:00.000-07:00">
<gd:reminder minutes="-1"/>
</gd:when>
<gd:where valueString=""/>
</entry>

HTTP/1.1 400 Bad Request
Content-Type: text/plain;charset=iso-8859-1
Cache-control: private
Transfer-Encoding: chunked
Date: Sat, 29 Jul 2006 09:27:17 GMT
Server: GFE/1.3

64
[Line 8, Column 15, element published] Invalid date/time format:
'2006-07-27T04:30:12.000Z'.
0


Frank Mantek wrote:
> Can you give me a trace of the entry as it comes down and the entry you send
> back?
> 
> Frank


--~--~---------~--~----~------------~-------~--~----~
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://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

Reply via email to