Hi, I am not sure if I understand what you are describing correctly, correct me if I am correctly.
The 401 errors appears that you either your authentication wasn't done correctly or you didn't append the auth header along with your request. To answer your other question about edit URL, yes your edit URL changes everytime an update is performed on that particular event entry. What I was recommendating was that you shouldn't do things like caching the edit URL or expect that it would be valid from a previous session and always retrieve it "fresh" everytime you want perform an update. Hope it helps, Austin On Mon, Apr 14, 2008 at 2:44 AM, zinzia <[EMAIL PROTECTED]> wrote: > > if i try to made a get request, for retrieve events with editUrls, to > the url: http://www.google.com/calendar/feeds/default/private/full > (it's the url of auth token) > > the response is "Unknown authorization header - error code 401" > > argh! > > > > > > On 14 Apr, 10:23, zinzia <[EMAIL PROTECTED]> wrote: > > hi, > > > > i've obtained a session auth token successfully to this > url:http://www.google.com/calendar/feeds/default/private/full > > that i use for post-request of new event with success. > > > > for update event, i take the xml from the response of post-request and > > i make a put request to the edit url.t "edit url change with time" > > this means that edit url change every time i made an update > > > > the documentation shows that edit url changes every time i made an > > update, isn't it? > > > > so your words "Edit url changes with time" it's the same to say that > > edit urls changes every time i made an update with success??? > > > > thanx... > > > > On 11 Apr, 19:26, "Austin (Google)" <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi, > > > > > A few things to check to narrow down what the cause is. > > > > > 1) check your authentication, to see if your auth token is obtained > > > successfully and made sure it is appended with this request in the > > > header > > > 2) the fact that you get connection timeout instead of other errors > > > made me think that perhaps your edit url is stale. Edit url changes > > > with time, that's why you need to obtain the edit url fresh each time > > > just before you submit a request to update an entry > > > > > Austin > > > > > On Fri, Apr 11, 2008 at 7:23 AM, zinzia <[EMAIL PROTECTED]> wrote: > > > > > > i try to update event on my calendar with a put request to the edit > > > > url like this: > > > > edit url: > http://www.google.com/calendar/feeds/default/private/full/7rt3h799ih7... > > > > > > my xml: > > > > <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/ > > > > 2005/Atom' xmlns:batch='http://schemas.google.com/gdata/batch' > > > > xmlns:gCal='http://schemas.google.com/gCal/2005'xmlns:gd='http:// > > > > schemas.google.com/g/2005'><id>http://www.google.com/calendar/feeds/ > > > > default/private/full/7rt3h799ih7ie0simddimfjaqs</ > > > > id><published>2008-04-11T13:50:29.000Z</ > > > > published><updated>2008-04-11T13:50:29.000Z</updated><category > > > > scheme='http://schemas.google.com/g/2005#kind'term='http:// > > > > schemas.google.com/g/2005#event'/><title type='text'>nuovo titolo </ > > > > title><content type='text'>zasasasaasasas </content><link > > > > rel='alternate' type='text/html' href='http://www.google.com/calendar/ > > > > event? > > > > > eid=N3J0M2g3OTlpaDdpZTBzaW1kZGltZmphcXMgY2luemlhLnJhbWVsbGFAaW5mb2dlc3RuZXQuaXQ' > > > > title='alternate'/><link rel='self' type='application/atom+xml' > > > > href='http://www.google.com/calendar/feeds/default/private/full/ > > > > 7rt3h799ih7ie0simddimfjaqs'/><link rel='edit' type='application/atom > > > > +xml' href='http://www.google.com/calendar/feeds/default/private/full/ > > > > 7rt3h799ih7ie0simddimfjaqs/63343605029'/><author><name>infogest > > > > informatica</name><email>[EMAIL PROTECTED]</email></ > > > > author><gd:comments><gd:feedLink href='http://www.google.com/calendar/ > > > > feeds/default/private/full/7rt3h799ih7ie0simddimfjaqs/comments'/></ > > > > gd:comments><gd:eventStatus value='http://schemas.google.com/g/ > > > > 2005#event.confirmed'/><gd:visibility > value='http://schemas.google.com/ > > > > g/2005#event.default'/><gd:transparency value='http:// > > > > schemas.google.com/g/2005#event.opaque'/><gCal:uid > > > > value='[EMAIL PROTECTED]'/><gCal:sequence > > > > value='0'/><gd:when startTime='2008-10-26' endTime='2008-10-26'/ > > > > ><gd:who rel='http://schemas.google.com/g/2005#event.organizer' > > > > valueString='infogest informatica' > > > > email='[EMAIL PROTECTED]'/><gd:where/></entry> > > > > > > i send an http put request, i try a post request too, but after wait > > > > so much time the response is : Connection timed out. > > > > > > WHY???????? > > > > > > i'm going crazy with googleCalendar!!!!!!- Nascondi testo tra > virgolette - > > > > > - Mostra testo tra virgolette -- Nascondi testo tra virgolette - > > > > > > - Mostra testo tra virgolette - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
