PDA

View Full Version : Invalid APIKey while you are updating the site


GarethLewin
Oct-11-2007, 11:53 PM
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 :(

B) 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

devbobo
Oct-12-2007, 01:03 AM
Gareth,

it's on my list of stuff to do :thumb

Cheers,

David

rkalla
Oct-12-2007, 07:49 AM
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 :(

B) 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

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"?

GarethLewin
Oct-12-2007, 02:16 PM
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"?

Either would be good, not Invalid API Key :)