prayagverma / gdata-python-client

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

GetFeed() with limit value is failed due to 404, 'Not Found', 'Invalid entity id: 2&max-results=2 #708

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. have album in https://picasaweb.google.com
2. feed uri (for examle) 
https://picasaweb.google.com/data/feed/api/user/1/albumid/2
3. Call in python code 
GetFeed("https://picasaweb.google.com/data/feed/api/user/1/albumid/2")
4. Return all photos - OK
5. Call in python code 
GetFeed("https://picasaweb.google.com/data/feed/api/user/1/albumid/2", 2) 
limit = 2

6. Traceback (most recent call last):
  File "C:\Python27\upload_google.py", line 51, in <module>
    photos = gd_client.GetFeed(album_uri, 2)
  File "C:\Python27\lib\gdata\photos\service.py", line 180, in GetFeed
    raise GooglePhotosException(e.args[0])
gdata.photos.service.GooglePhotosException: (404, 'Not Found', 'Invalid entity i
d: 6072579549061840897&amp;max-results=2')

7. If use GET 
https://picasaweb.google.com/data/feed/api/user/1/albumid/2?max-results=2

responce is ok, too

It seems that Python API calls & instead of ? (something like below incorrect 
link)

/data/feed/api/user/1/albumid/2&max-results=2

Original issue reported on code.google.com by feec...@gmail.com on 21 Oct 2014 at 1:29