Thread: no error code on bad catalog in fdsn event ws

Started: 2013-04-02 22:55:35
Last activity: 2013-04-03 00:05:51
Topics: Web Services
Philip Crotwell
2013-04-02 22:55:35
I accidentally sent this URL to the event service. PREF is not a valid
catalog I know, but the service seemed to simply close the connection
rather than sending back a http error code, which makes it harder to debug
bad queries.

http://service.iris.edu/fdsnws/event/1/query?&minmag=5.0&maxmag=10.0&catalog=PREF&starttime=2012-04-01T00:00:00.000&endtime=2013-04-02T19:43:34.445
Deleting the "&catalog=PREF", or changing it to NEIC+PDE results in a valid
query with events.

For comparison, if I change the starttime to be a bad date like

32012-04-01T00:00:00.000

I get back a "Error 400: Bad date value for starttime:
32012-04-01T00:00:00.000" which is helpful in figuring out what I did wrong.

thanks
Philip

06:49:13 v.22510d55