I was working on the calendar API before launch and everything was working
fine but now all I get is
401 Unknown authorization header
Some info
Array
(
[url] => https://www.google.com/calendar/feeds/default/private/full
[http_code] => 401
[content_type] => text/html; charset=UTF-8
[size_download] => 179
[size_upload] => 130
)
Array
(
[sbs] =>
POST&https%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds%2Fdefault%2Fprivate%2Ffull&oauth_consumer_key%3Dsomesite.com%26oauth_nonce%3D8691264544de4daf434d386.72094012%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1306843892%26oauth_token%3D1%252FakUKEqmtCX2cYopQjCXSSMgs8TZdQcMW-YpsDdtwZWo%26oauth_version%3D1.0
[headers_sent] => Content-Type: application/json
GData-Version: 2
Authorization: OAuth
oauth_consumer_key="somesite.com",oauth_signature_method="HMAC-SHA1",oauth_nonce="8691264544de4daf434d386.72094012",oauth_timestamp="1306843892",oauth_version="1.0",oauth_token="1%2FakUKEqmtCX2cYopQjCXSSMgs8TZdQcMW-YpsDdtwZWo",oauth_signature="cJk1QouAHNpc9vy3%2BvbN9qS0mz4%3D"
[headers_recv] => HTTP/1.0 401 Unknown authorization header
Expires: Tue, 31 May 2011 12:21:32 GMT
Date: Tue, 31 May 2011 12:21:32 GMT
WWW-Authenticate: GoogleLogin
realm="https://www.google.com/accounts/ClientLogin", service="cl"
Content-Type: text/html; charset=UTF-8
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
[body_sent] =>
{"data":{"title":"qqsdf","details":"sdfqsdfqsd","when":[{"start":"2011-05-31T09:45:00+02:00","end":"2011-05-31T11:15:00+02:00"}]}}
[body_recv] => <HTML>
<HEAD>
<TITLE>Unknown authorization header</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unknown authorization header</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
)
I don't know what else to do...
--
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