Hi All, I am using erlang-oauth and trying to get Google Calendar data. I am able to get my access tokens with no issue(using ruby oauth library), but when I try to access Google Calendar data I get:
"<HTML>\n<HEAD>\n<TITLE>Unknown authorization header</TITLE>\n</HEAD> \n<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n<H1>Unknown authorization header</H1>\n<H2>Error 401</H2>\n</BODY>\n</HTML>\n" I have read the posts on this issue and found that a Google Calendar redirect could be causing the issue, so I modified my call to set the HTTP autoredirect=false, so that I could catch the redirect(if it occurred). This did not solve the issue. My header string looks like: OAuth realm="", oauth_signature="OmnWxkSvhDQ%2F2TRCtjnt%2BdGag8O%2F%2Big5VfTKV3qw82ZjjK %2FvS4v8e17P8ugzxZ%2BIPT2gpYmXtmW7OF1jdh31BiSetZLlmwYDP2ZNLTieFFp %2B2S2mfw1a9nNKmgU2ZvmcON%2Bib8DVZqXQgWpcxcRtCLdtmBNp97Zvfogxv91HhsU %3D", oauth_version="1.0", oauth_nonce="O%2B5yfnVnFASBJYRExC7Jzm3rQ%2BsYzwUYb6gE5cSQNb8%3D", oauth_timestamp="1229121321", oauth_token="1%2FYwJ3xDH4DIcseZi2CZabY2ATiaQZnWPB51nTvo8n9Sw", oauth_signature_method="RSA-SHA1", oauth_consumer_key="re.clynetic.com" Is there something obvious in this header string that could cause an Unknown Authorization Header error? I can use this code to get Google contact data with no issue(I modify the initial scope and request URL of course). Thanks for your help. Regards, Sarah Jelinek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OAuth" 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/oauth?hl=en -~----------~----~----~----~------~----~------~--~---
