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.
 

We have proper error responses again \o/

First post
Author
CCP Prism X
C C P
C C P Alliance
#1 - 2013-10-18 14:27:15 UTC
You read it here first (if you're not on IRC).

Handled errors causing non 200 OK responses should now still post the handled error response. Unhandled errors should not. Please don't repeat calls that create unhandled error responses Blink

Sorry for how long this took. I'm just really ******** with the web end of things on account of not being a web developer. Feel free to berate me next FanFest (This will be a strong selling point for attending the next FanFest!).
Desmont McCallock
#2 - 2013-10-18 19:11:30 UTC
First. \o/
Crasniya
The Aussienauts
#3 - 2013-10-18 19:37:07 UTC
Thank you!

Soraya Xel - Council of Planetary Management 1 - soraya@biomassed.net

Ydnari
Estrale Frontiers
#4 - 2013-10-18 20:32:34 UTC
Woot!

--

0mni Ca
Brutor Tribe
Minmatar Republic
#5 - 2013-10-19 01:04:31 UTC
Do you have some documentation on the changes, if any, or even documentation on the best way to handle them. Or even a structure of what gets returned, in what order.

I have been going through http://wiki.eve-id.net/APIv2_Eve_ErrorList_XML but don't know if its accurate.
Rob Crowley
State War Academy
#6 - 2013-10-19 09:09:50 UTC
Yay!
CCP Prism X best Prism X!
Peter Powers
Terrorists of Dimensions
HORSE-KILLERS
#7 - 2013-10-19 12:48:35 UTC
Pheal / PhealNG support this, but only if using CURL fetcher.. File fetcher cant read contents if http fails

3rdPartyEve.net - your catalogue for 3rd party applications

iskflakes
#8 - 2013-10-19 13:43:49 UTC
Yay!

No more error spam from my app!

-

Ydnari
Estrale Frontiers
#9 - 2013-10-19 15:14:24 UTC
Peter Powers wrote:
Pheal / PhealNG support this, but only if using CURL fetcher.. File fetcher cant read contents if http fails

If you wanted to implement it for the file fetcher, you ought to be able to use a stream context and set ignore_errors to true, and check the HTTP response code for error handling?

http://www.php.net/manual/en/context.http.php

--

Lake
The Praxis Initiative
Gentlemen's Agreement
#10 - 2013-10-23 00:01:04 UTC
CCP Prism X wrote:
You read it here first (if you're not on IRC).


I see someone already replaced my entry to the MoTD there (with a link to this thread, naturally) =)

CCP Prism X wrote:
Sorry for how long this took. I'm just really ******** with the web end of things on account of not being a web developer. Feel free to berate me next FanFest (This will be a strong selling point for attending the next FanFest!).


As frustrating as it was I'm finding it difficult to maintain my enthusiasm for raging at you now that it's fixed.Thanks for eventually getting it sorted (I was becoming concerned it had been forgotten or declared the new normal).
Peter Powers
Terrorists of Dimensions
HORSE-KILLERS
#11 - 2013-10-23 11:07:51 UTC  |  Edited by: Peter Powers
Ydnari wrote:
Peter Powers wrote:
Pheal / PhealNG support this, but only if using CURL fetcher.. File fetcher cant read contents if http fails

If you wanted to implement it for the file fetcher, you ought to be able to use a stream context and set ignore_errors to true, and check the HTTP response code for error handling?

http://www.php.net/manual/en/context.http.php

that actually seems like a solution, i wasn't aware ignoring the error would allow to access the content.
i'll see that i'll patch it in as soon as i have some time.
Thanks.

edit: done.

3rdPartyEve.net - your catalogue for 3rd party applications

Shin Chogan
Federal Navy Academy
Gallente Federation
#12 - 2013-10-26 22:27:27 UTC  |  Edited by: Shin Chogan
*never mind*