smugmug.categories.create not working
dilbert
Registered Users Posts: 8 Beginner grinner
Can anyone tell me why the following XML doesn't work: (I have replaced the starting < with ( so it wouldn't be stripped out in the forums, but otherwise untouched. It creates a category with a blank name, and the response comes back blank as well. but if i go to smugmug.com and login and view categories there is a new category listed in the drop down, with no name. this is driving me nuts, I posted earlier and never got a response (I did get the upload to work in perl finally).
Also worth noting, I can successfully create albums, including setting of options and it looks pretty much the same as below with extra params of course.
Any suggestions appreciated.
Thanks
[code]
(?xml version="1.0" encoding="UTF-8"?>
(methodCall>
(methodName>smugmug.categories.create
(/methodName>
(params>
(param>
(value>
(string>f3098bb8413a659011bbbbb03e25e8163
(/string>
(/value>
(/param>
(param>
(value>
(string>Test Category1
(/string>
(/value>
(/param>
(/params>
(/methodCall>
response
(?xml version="1.0" encoding="iso-8859-1"?>
(methodResponse>
(params>
(param>
(value>
(string/>
(/value>
(/param>
(/params>
(/methodResponse>
[\code]
Also worth noting, I can successfully create albums, including setting of options and it looks pretty much the same as below with extra params of course.
Any suggestions appreciated.
Thanks
[code]
(?xml version="1.0" encoding="UTF-8"?>
(methodCall>
(methodName>smugmug.categories.create
(/methodName>
(params>
(param>
(value>
(string>f3098bb8413a659011bbbbb03e25e8163
(/string>
(/value>
(/param>
(param>
(value>
(string>Test Category1
(/string>
(/value>
(/param>
(/params>
(/methodCall>
response
(?xml version="1.0" encoding="iso-8859-1"?>
(methodResponse>
(params>
(param>
(value>
(string/>
(/value>
(/param>
(/params>
(/methodResponse>
[\code]
0
Comments
There seems to be a bug with both categories.create and subcategories.create. I get this with the xmlrpc interface and both version 1.1.0 and beta 1.1.1. It does works the API version 1.0.
The create call returns an empty string and creates a category with no Title.
Here is the request xml:
and here is the result: