Hi,

I can create/subscribe to a calendar but I can't seem to subscribe to 
another user's public calendar.

Can you help me?

Here's my subscribe request that works:


POST 
/calendar/feeds/default/owncalendars/full?gsessionid=KSvhLW9faWcq0ztL4Aq1HQ 
HTTP/1.1
Accept-Encoding: gzip
Authorization: GoogleLogin auth=XXX - removed
GData-Version: 2
User-Agent: Google-CalendarAndroidSample/1.0 
Google-API-Java-Client/1.3.1-alpha
Transfer-Encoding: chunked
Content-Type: application/atom+xml
Host: www.google.com
Connection: Keep-Alive
Cookie: S=calendar=ZDcgK1uf7q4Bs2ERY_bk0w
Cookie2: $Version=1



86

<?xml version='1.0' encoding='UTF-8' ?><entry xmlns="
http://www.w3.org/2005/Atom";><title>Test: 
2011-03-02T16:57:14.465</title></entry>

0



HTTP/1.1 201 Created
Expires: Wed, 02 Mar 2011 16:57:18 GMT
Date: Wed, 02 Mar 2011 16:57:18 GMT
Content-Type: application/atom+xml; charset=UTF-8; type=entry
Cache-Control: private, max-age=0, must-revalidate, no-transform
Vary: Accept, X-GData-Authorization, GData-Version
GData-Version: 2.6
ETag: W/"D0cHRn47eCp7JGA9Wx9aEEU."
Location: 
http://www.google.com/calendar/feeds/default/owncalendars/full/f9v1u6pvrj347eh1fdr8hsf0kk%40group.calendar.google.com
Content-Location: 
http://www.google.com/calendar/feeds/default/owncalendars/full/f9v1u6pvrj347eh1fdr8hsf0kk%40group.calendar.google.com
Content-Encoding: gzip
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE



A

..........

250

.U]o.0..+.*..Z.....Q.
.xB.&.f......v.._.M.t...iB..E9....{t...K.m..B......@%Z.*.........3P..xHUv...U.!..6...m2..tD.N......z.7!.u.l...g..Jn.L.LB...4x{[email protected]..&.............z.../.......g'\......?f...:9.....@X"
 
..t.....MX....1...0.f.....o.43....|p.#x#.....9..O....Nh.....$
.. ..c....Jp.(y.PJ..1....(...H,..L..[.....5f...S>k.{.K..Ob.
'!~...G....D+....M....Y`..r.1..0N.-.....I....).l..2..m$i-e..,..3....}R..G..^n 
}-...!l.......
..]Lz<I..%f.h......i.=...L...no..:X]x..5...,..Z*.].M../!^.u..p-...x.H...x[..?.EFb......>Q......h.M....Q.1..y!...M....p....~.uE......\-.av)...j...}...L.l.....

0



*But this one fails:  I'm trying to subscribe to the public calendar Google 
Doodles.*
*
*
Is there any way to debug the Forbidden message.  It would be helpful if I 
knew what is forbidden?

POST 
/calendar/feeds/default/owncalendars/full?gsessionid=oE-iSKQodv3gr6xYJ2UdNg 
HTTP/1.1
Accept-Encoding: gzip
Authorization: GoogleLogin auth=XXX removed
GData-Version: 2
User-Agent: Google-CalendarAndroidSample/1.0 
Google-API-Java-Client/1.3.1-alpha
Transfer-Encoding: chunked
Content-Type: application/atom+xml
Host: www.google.com
Connection: Keep-Alive



99

<?xml version='1.0' encoding='UTF-8' ?><entry xmlns="
http://www.w3.org/2005/Atom";><id>c4o4i7m2lbamc4k26sc2vokh5g%40group.calendar
.google.com</id></entry>

0



HTTP/1.1 403 Forbidden
Expires: Wed, 02 Mar 2011 16:05:56 GMT
Date: Wed, 02 Mar 2011 16:05:56 GMT
Set-Cookie: S=calendar=e37SeSWwO9lNCT7_G4qiMw;Expires=Thu, 01-Mar-2012 
16:05:56 GMT
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE



A

..........

46

s.+).T.LQ.--.QHJU.+..QH./RHN.I.KI.2.R.K2...2.....`...E.Y.. .=...>.F...

0


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

Reply via email to