Hello,

When I try and save a new appointment with a recurring pattern I
receive the following respone -

"HTTP/1.1 400 Bad Request
Content-Type: text/plain;charset=iso-8859-1
Cache-control: private
Transfer-Encoding: chunked
Date: Sun, 30 Jul 2006 19:12:50 GMT
Server: GFE/1.3

2a
Single event must not have recurrence rule
0"


I took Feng's advice and removed all Whens from the entry before saving
the item however the error still occurs. Could someone please tell me
where I am going wrong pls?

This is the POST request that I am making -

"POST
/calendar/feeds/[EMAIL 
PROTECTED]/private/full/vgrqns4c*****e04ds0hsg/63289969947
HTTP/1.1
Content-Type: application/atom+xml; charset=UTF-8
User-Agent: OutlookSynchronisationMonkey GCalendar-CS/1.0.0
GDataGAuth-CS/1.0.0
Authorization: GoogleLogin auth=DQAAAIkAAAAzprPKc*****
X-HTTP-Method-Override: PUT
Content-Length: 2125
Expect: 100-continue
Host: www.google.com
Cookie: S=calendar=JE9****

?<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom";
xmlns:gd="http://schemas.google.com/g/2005";>
  <gd:transparency
value="http://schemas.google.com/g/2005#event.opaque"; />
  <gd:comments>
    <gd:feedLink
href="http://www.google.com/calendar/feeds/be****cassie%40gmail.com/private/full/vgrqns4c*****0hsg/comments";
/>
  </gd:comments>
  <gd:visibility value="http://schemas.google.com/g/2005#event.default";
/>
  <gd:eventStatus
value="http://schemas.google.com/g/2005#event.confirmed"; />
  <gd:recurrence>DTSTART;TZID=Europe/London:20060731T200000
DURATION:PT3600S
RRULE:FREQ=DAILY;WKST=MO
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:Europe/London
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:GMT
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE</gd:recurrence>
  <title type="text">asdsasad</title>

<id>http://www.google.com/calendar/feeds/[EMAIL 
PROTECTED]/private/full/vgrqns4cgog2nhvm9e04ds0hsg</id>
  <link
href="http://www.google.com/calendar/event?eid=dmdycW5zNGNnb2cybmh2bTllMDRkczBoc2cgYmVuamFtZXNjYXNzaWVAZ29vZ2xlbWFpbC5jb20";
rel="alternate" type="text/html" title="alternate" />
  <link
href="http://www.google.com/calendar/feeds/[EMAIL 
PROTECTED]/private/full/vgrq******04ds0hsg"
rel="self" type="application/atom+xml" />
  <link
href="http://www.google.com/calendar/feeds/[EMAIL 
PROTECTED]/private/full/vgrqns*****4ds0hsg/63289969947"
rel="edit" type="application/atom+xml" />
  <author>
    <name>Ben Cassie</name>
    <email>[EMAIL PROTECTED]</email>
  </author>
  <category term="http://schemas.google.com/g/2005#event";
scheme="http://schemas.google.com/g/2005"; />
  <content type="text">














----DO NOT REMOVE----
[934979827-2059733619193415020]</content>
  <updated>2006-07-30T20:12:27+01:00</updated>
  <published>2006-07-30T20:12:27+01:00</published>
</entry>"


--~--~---------~--~----~------------~-------~--~----~
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