uploadr.py icon indicating copy to clipboard operation
uploadr.py copied to clipboard

Error: 116 The POST method is now required for all setters

Open cristobal-wetzig opened this issue 12 years ago • 4 comments

Suddenly I'm getting this error. Perhaps flickr changed the API? Or is this a very local problem?

Uploading /Volumes/External/photos/2013/IMG_5911.JPG...
Problem:
Error: 116 The POST method is now required for all setters
Uploading /Volumes/External/photos/2013/IMG_5924.JPG...
Problem:
Error: 116 The POST method is now required for all setters
Uploading /Volumes/External/photos/2013/IMG_5928.JPG...
Problem:
Error: 116 The POST method is now required for all setters
Uploading /Volumes/External/photos/2013/IMG_5932.JPG...

cristobal-wetzig avatar Aug 14 '13 21:08 cristobal-wetzig

Im not pyhton dev. But this is what i think is the problem.

Apologies for this unannounced change, but all methods of the Flickr API that change state now require the HTTP > POST method. If you make a GET request to them, you will see the following error:

rsp stat="fail" err code="7734" msg="The POST method is now required for all setters" rsp

source http://www.flickr.com/groups/api/discuss/37387/

And the lines: https://github.com/ept/uploadr.py/blob/master/uploadr/uploadr.py#L360-L365

Should be changed to post method.

http://stackoverflow.com/questions/6348499/making-a-post-call-instead-of-get-using-urllib2

cristobal-wetzig avatar Aug 14 '13 21:08 cristobal-wetzig

I'm also getting this error. Its very frustrating, as I was depending on this script for my photobooth app. I don't understand the code enough to change it to this new method. If you figure out, please share. Thanks!!

boi222 avatar Aug 15 '13 01:08 boi222

fyi.. fixed it by changing the base url to http://api.flickr.com/services/

boi222 avatar Aug 15 '13 02:08 boi222

haha, nice one bol222! Works for me as well!

cristobal-wetzig avatar Aug 15 '13 05:08 cristobal-wetzig