I am using the picasa gdata python client library to upload photos and videos to picasa. The code works well for small photos and videos. But if the video is larger than 100 MB, I get the following error:
photo = gd_client.InsertPhotoSimple( album_url, title, title, file, content_type=mime)
File "/usr/local/lib/python2.7/dist-packages/gdata/photos/service.py", line 470, in InsertPhotoSimple
content_type)
File "/usr/local/lib/python2.7/dist-packages/gdata/photos/service.py", line 428, in InsertPhoto
raise GooglePhotosException(e.args[0])
gdata.photos.service.GooglePhotosException: (413, 'Request Entity Too Large', 'Video file size exceeds 104857600')
Essentially server is rejecting the files larger than 100MB. However, this documentation tells that file size limit is actually 1GB.
So, why am I getting this error? Anyone seen this?
The limitation set by the api, as per the documentation, is 100MB. The limit you found is on their site, they have different rules for how they can access their service vs. how other people can access their service.