Options

Bug: smugmug.image.changePosition returns Fault 5

luke_churchluke_church Registered Users Posts: 507 Major grins
Details: Call to image.changePosition returned a FaultCode of 5 and didn't move the image.

Changing the target location from 0 to 1 had no effect.

The Session certainly has the permission to manipulate the image, as it queries it for its current position first.

Same behaviour for XML-RPC 1.1.0 and XML-RPC 1.1.1

[php]

<?xml version="1.0"?>
<methodCall>
<methodName>smugmug.images.changePosition</methodName>
<params>
<param>
<value>
<string>...</string>
</value>
</param>
<param>
<value>
<i4>35655858</i4>
</value>
</param>
<param>
<value>
<i4>0</i4>
</value>
</param>
</params>
</methodCall>
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value>
<int>5</int>
</value>
</member>
<member>
<name>faultString</name>
<value>
<string>system error</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>

[/php]

Cheers,

Luke
Sign In or Register to comment.