There have been some changes since November 4th, but they have been
mostly bug fixes and nothing that should be causing a 401 error.

Are you able to do a packet capture to determine the series of
operations which are occurring?  The tool which I use for these sorts
of things is Wireshark - http://www.wireshark.org/ (available for
multiple platforms).  You could also use a HTTP debugging proxy such as
Fiddler if you're running under Windows (http://www.wireshark.org/), or
the packet capture tool tcpdump if you're on a mac/linux/unix box:
sudo tcpdump -i en1 -s0 -w packets.out 'host www.google.com and tcp
port 80'

If Flash is correctly sending the X-If-No-Redirect header with a value
of 1, then you should get back a '412 Precondition Failed' response,
which will include a 'X-Redirect-Location' header and a 'S' cookie
which you can then use to redo your request.

Hope this helps!

Cheers,

-Ryan



On Jan 2, 2:21 pm, "JesterXL" <[EMAIL PROTECTED]> wrote:
I'm using the Google Calendar API for clients as detailed here:

http://code.google.com/apis/gdata/calendar.html

As of November 4th of 2006, I was able to login, and then add an event
to my calendar.

Today I can't.  I have a series of test cases I've created in Flash
(Flash Player 7, ActionScript 2), and now none work.  The login works
fine on all, though.  I get a HTTP status of 200 back, and get my auth
code.

However, whether adding an event, or merely hitting the feed API
results in a 401.

Searching this group, it seems a few people were suffering from a
redirect problem.  I'm not really sure I have that low-level access in
Flash to fix the redirect problem, but am definately open to hacks.  I
tried to "X-If-No-Redirect" request header, but she didn't work.

Did anything change?  Anything I can try?

Thanks if you can help.

--JesterXL


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