Open henrietteharmse opened 5 years ago
Hi, I'm the original reporter. FYI this also happens for terms Orphanet:119117 and Orphanet:291794
I just ran into this bug, which seems to occur consistently when the same request is made multiple times: The first succeeds, then two fail, then the third succeeds, and repeat...
This issue has been logged via RT: https://helpdesk.ebi.ac.uk/Ticket/Display.html?id=370505
I just noticed that when I query OxO with a valid identifier (Orphanet:121715), it responds with a 500 Internal Server Error. This happens whether I use the API or the website (which obviously uses the same API under the hood). Here's the request to reproduce this:
$ curl 'https://www.ebi.ac.uk/spot/oxo/api/search?size=500' -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json' --data-binary '{"ids":["Orphanet:121715"],"mappingTarget":[],"distance":"3"}' {"timestamp":1570787247760,"status":500,"error":"Internal Server Error","exception":"org.neo4j.ogm.exception.MappingException","message":"Error mapping GraphModel to instance of uk.ac.ebi.spot.model.Term","path":"/spot/oxo/api/search"}
The mapping term which I'm requesting is unremarkable: http://www.orpha.net/ORDO/Orphanet_121715, and OxO appears to be working fine for other Orphanet terms.