Re: [gs-discussion] Problem with api

Skip to first unread message

Google Cloud Storage Team

Mar 22, 2013, 6:18:28 PM3/22/13
to gs-discussion

It looks like the most important part of the error message was at the bottom of the log, and it got lost in the copy and paste process.  Would you be willing to post this question over on Stack Overflow and tag it with google-cloud-storage?  Our team will be happy to take a look at it over there. 

Best Regards,
Google Cloud Storage Team

On Fri, Mar 22, 2013 at 7:31 AM, <> wrote:

I want to retrieve some information from my google storage so I used the api with this code :

DECORATOR = oauth2decorator_from_clientsecrets(
http = DECORATOR.http()
service_storage = build("storage", "v1beta1", http=http)
list_response = service_storage.objects().list(bucket="jba-directory").execute()

The weird thing is the error message that I receive ; I have nothing after the 'HttpError:' :

Traceback (most recent call last): 
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/", line 1529, in __call__ rv = self.router.dispatch(request, response) 
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/", line 1278, in default_dispatcher return route.handler_adapter(request, response) 
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/", line 1102, in __call__ return handler.dispatch() 
File "/base/data/home/apps/s~jba-gae-boilerplate/dev.366109531044378431/boilerplate/lib/", line 162, in dispatch webapp2.RequestHandler.dispatch(self) 
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/", line 572, in dispatch return self.handle_exception(e, 
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/", line 570, in dispatch return method(*args, **kwargs) 
File "/base/data/home/apps/s~jba-gae-boilerplate/dev.366109531044378431/web/lib/oauth2client/", line 469, in check_oauth return method(request_handler, *args, **kwargs) 
File "/base/data/home/apps/s~jba-gae-boilerplate/dev.366109531044378431/web/", line 191, in get service_storage.objects().list(bucket=bucket).execute(http=http) 
File "/base/data/home/apps/s~jba-gae-boilerplate/dev.366109531044378431/web/lib/oauth2client/", line 120, in positional_wrapper return wrapped(*args, **kwargs) 
File "/base/data/home/apps/s~jba-gae-boilerplate/dev.366109531044378431/web/lib/apiclient/", line 678, in execute raise HttpError(resp, content, uri=self.uri) 

Can anyone help me ? 

You received this message because you are subscribed to the Google Groups "Google Cloud Storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Reply all
Reply to author
0 new messages