prayagverma / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

Internal Server Error on GetDocumentListFeed() #707

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pip install gdata [pulls 2.0.18 from https://pypi.python.org/pypi/gdata]
2. In interactive Python session, manually type steps from 
https://developers.google.com/gdata/articles/python_client_lib#example

What is the expected output?
A list of document titles.

What do you see instead?
$ python
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdata.docs.service
>>> client = gdata.docs.service.DocsService()
>>> client.ClientLogin("myemail", "mypw")
>>> feed = client.GetDocumentListFeed()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/nat/virtualenvs/gdata/lib/python2.7/site-packages/gdata/docs/service.py", line 260, in GetDocumentListFeed
    return self.QueryDocumentListFeed(uri)
  File "/Users/nat/virtualenvs/gdata/lib/python2.7/site-packages/gdata/docs/service.py", line 239, in QueryDocumentListFeed
    return self.Get(uri, converter=gdata.docs.DocumentListFeedFromString)
  File "/Users/nat/virtualenvs/gdata/lib/python2.7/site-packages/gdata/service.py", line 1108, in Get
    'reason': server_response.reason, 'body': result_body}
gdata.service.RequestError: {'status': 500, 'body': 'An unknown error has 
occurred.', 'reason': 'Internal Server Error'}

What version of the product are you using?
2.0.18

Please provide any additional information below.
I have not tried any other client API. I recognize that this may be a 
server-side problem.

Original issue reported on code.google.com by n...@lindenlab.com on 15 Oct 2014 at 8:52

GoogleCodeExporter commented 9 years ago
Please use the Drive API. Documents List API is deprecated. Please also don't 
use ClientLogin.

Original comment by afs...@google.com on 30 Dec 2014 at 8:36