Login.withPassword failure with 1.2.0
Kevin L. Kitchens
Registered Users Posts: 149 Major grins
No problems before with 1.1.1... now the login.withPassword is failing. I see I no longer pass the version #, but the order is also new. I put APIKey first and I keep getting an error message.
Any ideas?
I'm getting a faultcode 18, invalid API Key
Any ideas?
I'm getting a faultcode 18, invalid API Key
Kevin L. Kitchens
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
0
Comments
Kevin,
What are you using to generate you xml-rpc requests ?
Cheers,
David
SmugMug API Developer
My Photos
SmugMugAPI by CookComputing.
This is my modified version from the original, where I altered the order of the parameters, though I thinking that really doesn't matter.
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
Can you please read this thread. I have checked the code and it seems that it's still expecting Version as a parameter, if you send non-named parameters.
I am going to fix that in the code while trying to make it backwards compatible, howver the method mentioned in that thread will be a much better way to proceed.
Cheers,
David
SmugMug API Developer
My Photos
Now I put the params back in the old order with version, I modified to struct to the 1.2.0 return response and I'm getting an error about the struct not conforming to the return item or something.
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
Thanks,
David
SmugMug API Developer
My Photos
Sadly no - or I could figure it out.
I'm still using the login.withPassword method as my site has been down now for 4 days because of the smugmug change. I need to get back up ASAP.
The response is a Login struct and I've made my struct conform to the one found here: http://wiki.smugmug.com/display/SmugMug/smugmug.login.withPassword+1.2.0 and it's still a no go!!!
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
Also, the case of the members mattered as I had ID instead of id.
Now, I'm back to the GetEXIF issue. It expects imageID and imageKey. What if I'm getting image info for an old upload that did not use the imageKey? What do I use for imageKey? I tried NULL and I tried "".
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]
The getEXIF now works as I set the id in the struct to optional. The reason id was not coming back at all was because the imageKey was incorrect.
"Know me through my lens."
My smugmug: http://peiklk.smugmug.com
My site: http://www.photographyvoice.com [POTD, Blog, News, & more!]