error returned from smugmug.categories.rename

malrothmalroth Registered Users Posts: 3 Beginner grinner
Hi, at some point in the last year, the category rename API stopped working (sorry I can’t pinpoint when, I haven’t used the functionality much in my app but on testing some changes I noticed it recently). For example, I am sending the following request and getting the following error:

Request:
http://api.smugmug.com/services/api/rest/1.2.2/?CategoryID=714769&method=smugmug.categories.rename&Name=foo&SessionID=cfea10b447033803f9f32c60c1f87b0c

Response:
<rsp stat="fail"><method>smugmug.categories.rename</method><err code="16" msg="invalid data (illegalCat)" /></rsp>

Category creation and deletion works using similar requests, though, so I think it is an issue on the smugmug API side. Any help is appreciated, thanks!

Josh
Sign In or Register to comment.