Server returns error code 500 and says it's thrown a NullPointerException.
Requests for nonexistent assays, compounds, substances, and projects all return 404 -- this one probably should as well.
Also, a similar request for exptdata with an invalid ID returns a 500 error code, with no details. I can enter that as a separate ticket, if that's better.
Found this by accident when I had a typo putting in an experiment ID. Try this request:
http://bard.nih.gov/api/v13/experiments/13339
Server returns error code 500 and says it's thrown a NullPointerException.
Requests for nonexistent assays, compounds, substances, and projects all return 404 -- this one probably should as well.
Also, a similar request for exptdata with an invalid ID returns a 500 error code, with no details. I can enter that as a separate ticket, if that's better.