<div dir="ltr"><div><div class="gmail_extra"><br>Never mind, this might be me not catching the 204. Thought I was, but not so.<br><br></div><div class="gmail_extra">Philip<br></div><div class="gmail_extra"><br><div class="gmail_quote">
On Tue, Apr 2, 2013 at 3:55 PM, Philip Crotwell <span dir="ltr">&lt;<a href="mailto:crotwell@seis.sc.edu" target="_blank">crotwell@seis.sc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div><div><br></div>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.<br>

<br><a href="http://service.iris.edu/fdsnws/event/1/query?&amp;minmag=5.0&amp;maxmag=10.0&amp;catalog=PREF&amp;starttime=2012-04-01T00:00:00.000&amp;endtime=2013-04-02T19:43:34.445" target="_blank">http://service.iris.edu/fdsnws/event/1/query?&amp;minmag=5.0&amp;maxmag=10.0&amp;catalog=PREF&amp;starttime=2012-04-01T00:00:00.000&amp;endtime=2013-04-02T19:43:34.445</a><br>

Deleting the &quot;&amp;catalog=PREF&quot;, or changing it to NEIC+PDE results in a valid query with events.<br><br>For comparison, if I change the starttime to be a bad date like<br><br>32012-04-01T00:00:00.000<br><br>I get back a &quot;Error 400: Bad date value for starttime: 32012-04-01T00:00:00.000&quot; which is helpful in figuring out what I did wrong.<br>

<br>thanks<span class=""><font color="#888888"><br>Philip<br></font></span></div></div></div>
</blockquote></div><br></div></div></div>