These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

HTTP Error Codes

Author
Princess Morenta
Republic Military School
Minmatar Republic
#1 - 2013-07-11 02:25:56 UTC
Could we have a map of the various errors to what situation

I.e.

Key valid but not authorized = 403 Forbidden?

Key invalid = 401 Unauthorized?

Will CCP map their own error codes to HTTP response codes?

Like twitter and code 420?
Kossaw
Body Count Inc.
Mercenary Coalition
#2 - 2013-07-11 02:34:56 UTC
I'm pretty sure the API is actually supposed to return an XML string with an error code rather than an HTTP error. - Which makes returning HTTP error codes a bug, not a feature.

WTB : An image in my signature

Princess Morenta
Republic Military School
Minmatar Republic
#3 - 2013-07-11 11:19:36 UTC
It was recently changed to use http errors, if you check the sticky at the top