More API Changes/bugs???
Kevin L. Kitchens
Registered Users Posts: 149 Major grins
Uploaded files on Tuesday night via API and all was fine. Now I get:
<?xml version="1.0" encoding="utf-8"?><methodResponse><fault><value><struct><member><name>method</name><value><string>smugmug.images.upload</string></value></member><member><name>faultCode</name><value><int>5</int></value></member><member><name>faultString</name><value><string>system error (invalid album)</string></value></member></struct></value></fault></methodResponse>
As the response... no code changes at all. Just more "it works until it gets broken"
hitting: http://www.smugmug.com/photos/xmladd.mg
<?xml version="1.0" encoding="utf-8"?><methodResponse><fault><value><struct><member><name>method</name><value><string>smugmug.images.upload</string></value></member><member><name>faultCode</name><value><int>5</int></value></member><member><name>faultString</name><value><string>system error (invalid album)</string></value></member></struct></value></fault></methodResponse>
As the response... no code changes at all. Just more "it works until it gets broken"
hitting: http://www.smugmug.com/photos/xmladd.mg
Kevin L. Kitchens
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
0
Comments
You seem to be using our old endpoint. Try pointing to
http://upload.smugmug.com/photos/xmladd.mg
http://msphoto.smugmug.com
http://twitter.com/tasmanic
Some of our generic backend upload code that the API uses got rewritten. I had a bit of a look at some of the uploads you have been sending and noticed that you were POSTing to this url...
http://upload.smugmug.com/photos/xmladd.mg?AlbumID=1927555&Version=1.0
I realise that this has worked in the past...I will look into why it's not working now, but to get you up and running...perhaps try sending the AlbumID in the POST data as opposed to using it in the URL that you are POSTing to.
Cheers,
David
SmugMug API Developer
My Photos
Now if I can figure out how to do that...
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
Cheers,
David
SmugMug API Developer
My Photos