chembl / chembl_webservices_2

Source code of the ChEMBL web services.
https://www.ebi.ac.uk/chembl/ws
Other
16 stars 3 forks source link

wrong filter types generate 500 #124

Closed mnowotka closed 7 years ago

mnowotka commented 7 years ago

https://www.ebi.ac.uk/chembl/api/data/molecule.json?limit=20&offset=0&order_by=molecule_chembl_id&molecule_chembl_id__contains=25

This fails for 500 error: Related Field got invalid lookup

where this should be 400 as this is a wrong type of filter (spelling error, the correct one is contain)

mnowotka commented 7 years ago

Fixed.