changeAlbumSettings not working - request & response msgs included
devbobo
Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
I can't seem to get changeAlbumSettings to work, it always return a nearly empty response message. I realise that Matt already has a thread relating to this going, but I didn't want this info to get buried and not seen by the right people.
ok...here's the request I send...
<methodCall>
<methodName>changeAlbumSettings</methodName>
<params>
<param>
<value><string>ChangedToProtectTheInnocent</string></value>
</param>
<param>
<value><i4>399398</i4></value>
</param>
<param>
<value>
<struct>
<member>
<name>SubCategoryID</name>
<value><i4>59241</i4></value>
</member>
</struct>
</param>
</params>
</methodCall>
And here is the response I get back from this message...
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<params>
<param>
<value>
<string/>
</value>
<param>
</params>
</methodResponse>
My request seems OK to me, if anyone can point out any problems, it would be appreciated.
Cheers,
David
ok...here's the request I send...
<methodCall>
<methodName>changeAlbumSettings</methodName>
<params>
<param>
<value><string>ChangedToProtectTheInnocent</string></value>
</param>
<param>
<value><i4>399398</i4></value>
</param>
<param>
<value>
<struct>
<member>
<name>SubCategoryID</name>
<value><i4>59241</i4></value>
</member>
</struct>
</param>
</params>
</methodCall>
And here is the response I get back from this message...
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<params>
<param>
<value>
<string/>
</value>
<param>
</params>
</methodResponse>
My request seems OK to me, if anyone can point out any problems, it would be appreciated.
Cheers,
David
0
Comments
Thank goodness it's not just me. The bad part is that I spent a lot of hours on this. I originally thought I was sending malformed requests but I took the trouble to build another PHP test harness and I get the same results.
Matt
And this was the first method, that I have implemented for updating data to Smugmug, so you can imagine I was excited to see it work...but it didn't
Surprised that Nikolai hasn't come across this ?
David
SmugMug API Developer
My Photos
I wai.. spent quite some time when those API updates were posted. But, as I mentioned before, none of the issues I repeatedly reported were addressed, and things were getting crazy at work due to the trade show, so I simply gave up.
I am kinda surprised that despite of all our bug reports and frequent complaints NONE of the "new" APIs were fixed during these, what, 4 weeks? 6 weeks?
{ two paragraphs of snide remarks and salty comments erased :-}
Life is beautiful! :-)
There is a nice haiku thread at STF:
http://forums.dpreview.com/forums/read.asp?forum=1009&message=12454693
I posted few "Hopeless Haikus" there, too.
http://forums.dpreview.com/forums/read.asp?forum=1009&message=12480639
And here I just want to add one, specific to our situation:
Empty response
RPC-XML is not working
Nobody cares
Cheers!