Issue 15576

ChecklistBank WS gives bad response, and takes long time to respond when...

15576
Reporter: kbraak
Type: Bug
Summary: ChecklistBank WS gives bad response, and takes long time to respond when... 
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2014-04-30 14:32:49.112
Updated: 2015-03-02 16:23:52.841
Resolved: 2015-03-02 16:23:52.817
        
Description: ChecklistBank WS gives bad response, and takes long time to respond when using invalid parameter names.

For example, try: http://api.gbif.org/v0.9/species?dataset_key=00a0607f-fd7e-4268-9707-0f53aa265f1f&sourceId=ICIMOD_Barsey_Plants_001

This request uses the wrong parameter for dataset key (it should be dataestKey instead)  and leads to a 503.

A) This should be a 400 (bad request) instead of a 503 (service unavailable)
B) It shouldn't take this long to respond with a 400 (currently about 2 minutes)

The proper request is:

http://api.gbif.org/v0.9/species?datasetKey=00a0607f-fd7e-4268-9707-0f53aa265f1f&sourceId=ICIMOD_Barsey_Plants_001]]>
    


Author: omeyn@gbif.org
Comment: both spellings are understood now
Created: 2015-03-02 16:23:52.838
Updated: 2015-03-02 16:23:52.838