Taylor,

Under what circumstances does your system return a 401 HTTP status
code but does not include a properly formed XML or JSON error
construct to explain the 401?

Find that, and I think you will find the problem.


On Mar 12, 4:22 pm, SM <sanja...@gmail.com> wrote:
> My desktop app uses Adobe AIR with Javascript. I'm using the OAuth
> javascript library from here:
>
>    http://oauth.googlecode.com/svn/code/javascript/
>
> I am able to POST with xAuth to get the token/token_secret. I am then
> able to GET timelines using the received tokens. However, so far I am
> unable to POST to send updates or create/destroy favorites. When I
> compare the Authorization header my code generates with the one you
> can generate manually at this site:
>
>    http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signin...
>
> they are identical. Nevertheless, I am getting a 401 status back but
> no JSON data telling me what the error is.
>
> First question: any idea what might be going on here?
> Second question: Under what conditions would one get a 401 status, but
> no data describing the error?
>
> Stumped!

Reply via email to