ZF-9905: PHP Zend Oauth and fusion tables fails on a 404

Issue Type: Bug Created: 2010-05-27T15:01:54.000+0000 Last Updated: 2012-05-29T18:41:48.000+0000 Status: Closed Fix version(s): Reporter: Piers Harding (piersharding) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Gdata

  • Zend_Oauth

Related issues: Attachments:


When using OAuth authentication with Google Fusion tables, I get a failure on the final call to access the service with an authenticated access token. code example: Fails here with a "404 Not Found": $url = ""; $data = $gdata->get($url);

If I use the exact same code to obtain an access token, to then call another service such as the google docs document feed scope=, then it works. code example:

The bit that really gets me about this, is that the authentication appears to happen correctly - just the same as for the Google Docs example - but the actual Gdata call returns a 404. What I find even more puzzling is that if I swap the authentication mechanism for ClientLogin, then the call works eg:… .

I've tried reporting this to the google fusion tables user group here -… , but have not had any success, and it certainly does not help diagnose the problem just receiving a 404 Not Found.

It maybe that there is a problem with the way Zend/Oauth is formulating the Authorization header, that is incompatible with the Google Fusion tables service.

Any help with determining where the problem lies is gratefully appreciated.

Cheers, Piers Harding.


Posted by Adam Lundrigan (adamlundrigan) on 2012-05-29T18:41:48.000+0000

Zend_Gdata can only be used with Google services that use AuthSub/Google Data API. Unfortunately, FusionTables is not a GData service, but uses OAuth for authentication.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.