I have tried using both the public and private XML Urls provided for
the calendar (from the Calendar settings) with no difference.  My code
( for testing ) does a query of the calendar prior to trying to do the
insert and the query works without error/exception.

I think the problem may relate to the use of the incorrect URL.
Neither the public nor private URLs listed in the Calendar settings
page will work directly with GData for updates without modification.

The public URL listed in the calendar UI looks something like this:
http://www.google.com/calendar/feeds/u4u5cksnpp1vufdarpupn5um5s%40group.calendar.google.com/public/basic

This uses the public visibility, which is always read-only, regardless
of whether you have authenticated.

The private URL listed in the calendar UI looks something like this:
http://www.google.com/calendar/feeds/u4u5cksnpp1vufdarpupn5um5s%40group.calendar.google.com/private-089daae66e93a77d9e282b43a/basic

This uses the private-magicCookie visibility which is also always
read-only, regardless of whether you have authenticated using another
mechanism.

In the case of this example, the URL you'd probably be looking for to
make updates to the calendar would be:
http://www.google.com/calendar/feeds/u4u5cksnpp1vufdarpupn5um5s%40group.calendar.google.com/private/full

This is full projection of the private visibility feed.

For more details on the different visibility and projection options,
please see the following URL:
http://code.google.com/apis/calendar/reference.html#Visibility

Hopefully this solves the problem you're experiencing.

Hope you're having a great weekend.

Cheers,

-Ryan


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to