Lastly, using the OAuth playground at http://googlecodesamples.com/oauth_playground/ seems to work fine when I replicate what would be sent.
and replicating the On Mar 31, 5:39 pm, hlomas <[email protected]> wrote: > I will also add that: > A) The batch feed URL precisely matches the <link rel='http:// > schemas.google.com/g/2005#batch' ...> href that was received by my > server in a successful events feed request directly before my > attempted batch update. > B) The calendar that I am attempting to update is shared to members of > our organization, using the ACL rules. Disabling the sharing and then > trying the batch update did not fix anything, though. > > On Mar 31, 5:16 pm, hlomas <[email protected]> wrote: > > > > > > > > > I am having precisely the same issue, using PECL PHP library OAuth. > > > Last Response Info via <?php print_r( OAuth::getLastResponseInfo() ) ? > > > Array > > ( > > [url] > > =>https://www.google.com/calendar/feeds/<redacted>@group.calendar.google.com/private/full/batch?gsessionid=vGWgzX_4 > > ZVw5ibNIZsaGZA > > [http_code] => 404 > > [content_type] => text/html; charset=UTF-8 > > [size_download] => 866 > > [size_upload] => 0 > > ) > > > OAuthException Object via <?php print_r( <OAuthException> ); ?> > > ( > > [message:protected] => Invalid auth/bad request (got a 404, > > expected HTTP/1.1 20X or a redirect) > > [string:Exception:private] => > > [code:protected] => 404 > > [line:protected] => 226 > > [trace:Exception:private] => Array > > [lastResponse] => > > <html><head><meta http-equiv="content-type" content="text/ > > html;charset=UTF-8"> > > <title>Error</title> > > <style type="text/css">body {font-family: arial,sans-serif}</style></ > > head> > > <body text="#000000" bgcolor="#ffffff"><table border="0" > > cellpadding="2" cellspacing="0" width="100%"><tr><td rowspan="3" > > width="1%" nowrap><b><font face="times" size="10"><font > > color="#0039b6">G</font> <font color="#c41200">o</font> <font > > color="#f3c518">o</font> <font color="#0039b6">g</font> <font > > color="#30a72f">l</font> <font color="#c41200">e</font></ > > font> </b></td> > > <td> </td></tr><tr><td bgcolor="#3366cc"><font face="arial,sans- > > serif" color="#ffffff"><b>Error</b></font></td></tr><tr><td> </ > > td></tr></table> > > <blockquote>Cannot access the calendar you requested</blockquote> > > <p></p><div style="background:#3366cc; width:1px; height:4px"></div></ > > body></html> > > [headers_sent] => Content-Type: application/atom+xml > > If-Match: * > > Authorization: OAuth > > oauth_consumer_key="<redacted>",oauth_signature_method="RSA- > > SHA1",oauth_nonce="17061145024d94ebaf6dcfe8.02555853",oauth_timestamp="1301 > > 605295",oauth_version="1.0",oauth_token="<redacted>",oauth_signature="<reda > > cted>" > > [headers_recv] => HTTP/1.0 404 Not Found > > Expires: Thu, 31 Mar 2011 21:06:40 GMT > > Date: Thu, 31 Mar 2011 21:06:40 GMT > > Set-Cookie: S=calendar=V_RNcZ80bulx9rby5IlDlA;Expires=Fri, 30-Mar-2012 > > 21:06:40 GMT;Secure > > 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 > > ) -- 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
