[webservices] no error code on bad catalog in fdsn event ws
Philip Crotwell
crotwell at seis.sc.edu
Tue Apr 2 12:55:35 PDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20130402/6760b04e/attachment.htm>
More information about the webservices
mailing list