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

9 views
Skip to first unread message

gdata-pyt...@googlecode.com

unread,
Oct 21, 2014, 9:30:14 AM10/21/14
to gdata-python-client-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 708 by feec...@gmail.com: GetFeed() with limit value is failed
due to 404, 'Not Found', 'Invalid entity id: 2&max-results=2
https://code.google.com/p/gdata-python-client/issues/detail?id=708

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



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages