Hi All
Im having a bit of an issue using oauth and the calendar api in php
with the Zend libraries.
Im building the OAuth array ok and when i call getCalendarListFeed, it
sends back a correct list of all of my calendars. However If I change
the command to getCalendarEventFeed I get errors regarding
authorisation:
PHP Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException'
with message 'Expected response code 200, got 401
<HTML>
<HEAD>
<TITLE>Unknown authorization header</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unknown authorization header</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
' in /tmp/ZendFramework-1.11.10/library/Zend/Gdata/App.php:709
Stack trace:
#0 /tmp/ZendFramework-1.11.10/library/Zend/Gdata.php(221):
Zend_Gdata_App->performHttpRequest('GET', 'https://www.goo...', Array,
NULL, NULL, NULL)
#1 /tmp/ZendFramework-1.11.10/library/Zend/Gdata/App.php(875):
Zend_Gdata->performHttpRequest('GET', 'https://www.goo...', Array)
#2 /tmp/ZendFramework-1.11.10/library/Zend/Gdata/App.php(763):
Zend_Gdata_App->get('https://www.goo...', NULL)
#3 /tmp/ZendFramework-1.11.10/library/Zend/Gdata/App.php(205):
Zend_Gdata_App->importUrl('https://www.goo...', 'Zend_Gdata_Cale...',
NULL)
#4 /tmp/ZendFramework-1.11.10/library/Zend/Gdata.php(162):
Zend_Gdata_App->getFeed('https://www.goo...', 'Zend_Gdata_Cale...')
#5 /tmp/ZendFr in /tmp/ZendFramework-1.11.10/library/Zend/Gdata/
App.php on line 709
Has anybody seen this before? or know of a way to fix it?
regards
Garry
--
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