pownraj-anubavam / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Google Drive Internal Server Error when searching #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I get an error when searching with the q parameter:

php code:

$parameters['q'] = "title = 'hello'"; 
$children = $service->children->listChildren('root',$parameters);
returns:

Fatal Error: Uncaught exception 'Google_ServiceException' with message 'Error 
calling GET 
https://www.googleapis.com/drive/v2/files/root/children?q=title%20%3D%20%27hello
%27: (500) Internal Error'

I think it's something to do with the quotes as it works if I search for 
'trashed = false'

I'm using the latest api client checked out from: 
http://code.google.com/p/google-api-php-client/source/checkout

Original issue reported on code.google.com by adam.jim...@gmail.com on 12 Aug 2012 at 4:14

GoogleCodeExporter commented 9 years ago
This issue is being tracked by the Google Drive team here:
http://stackoverflow.com/questions/11915339/google-drive-internal-server-error-w
hen-searching

Original comment by chirags@google.com on 15 Aug 2012 at 6:39