Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping of Orphanet:121715 results in 500 Internal Server Error #26

Open
henrietteharmse opened this issue Oct 11, 2019 · 2 comments
Open

Comments

@henrietteharmse
Copy link
Contributor

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.

@tskir
Copy link
Member

tskir commented Oct 11, 2019

Hi, I'm the original reporter. FYI this also happens for terms Orphanet:119117 and Orphanet:291794

@jashapiro
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants