Invalid APIKey while you are updating the site
GarethLewin
Registered Users Posts: 95 Big grins
I just spent 20 minutes trying to work out why I was getting error 19 "Invalid API" when using the REST API for anything but login.
I then noticed you guys were fiddling with the site. When that stopped my errors went away.
A) Please create an error specifically for that. Telling my users that my APIKey is invalid is not helpful
Please fail the Login as well as the other calls, unless there is some benefit I can't see to allow the login to go thru. It makes my error handling a lot cleaner.
Thanks
I then noticed you guys were fiddling with the site. When that stopped my errors went away.
A) Please create an error specifically for that. Telling my users that my APIKey is invalid is not helpful
Please fail the Login as well as the other calls, unless there is some benefit I can't see to allow the login to go thru. It makes my error handling a lot cleaner.
Thanks
0
Comments
it's on my list of stuff to do
Cheers,
David
SmugMug API Developer
My Photos
Gareth,
Good call... isn't error code 18 system error? I guess Smug could throw that back, or do you want a specific one for system maintenence? like error code 666 "system maintenence"?
kallasoft | The "Break It Down" Blog
Either would be good, not Invalid API Key