smugmug.images.upload method not found
jef
Registered Users Posts: 42 Big grins
David Parry asked me to post this as a new thread so it doesn't get missed.
When I switched to the new API this morning, using my API key, the new URLs, and the new method names, I started getting a method not found fault for "smugmug.images.upload". This is a bug.
I attempted to work around this by using the old deprecated method name "upload" with the new URL. With this combination the upload succeeds but the response is an empty string instead of an ImageID. This is a second bug.
When I switched to the new API this morning, using my API key, the new URLs, and the new method names, I started getting a method not found fault for "smugmug.images.upload". This is a bug.
I attempted to work around this by using the old deprecated method name "upload" with the new URL. With this combination the upload succeeds but the response is an empty string instead of an ImageID. This is a second bug.
0
Comments
Found a bug, fixed it. It should be in the next smugmug general release (no promises when that will be, but I expect before the week is out).
I still wouldn't recommend using XML-RPC to upload, but that's your call.
Don
I have returned once again to uploading with the old API, which remains functional.
Versions prior to 1.0 (0.9, for example) returned an empty string.
Are you sure you're sending the version properly with your login call?
Don
Yes.
If anyone else is using the regular smugmug.images.upload method, could you please speak up?
I'm assuming by this note, btw, that the upload finishes fine, the images show up, but you're just not getting an ImageID back? Or is it something more dire?
Don
That is correct.
As you suggested, it's as if I was using version 0.9. Except I'm not.
I haven't forgotten about this, and I am looking at it, it's just turning out to be a pain to track down. More as I get it.
I assume you've tried the new BETA endpoint?
Don
No, I saw a mention of it but somehow missed the original announcement.