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

500 Internal Server Error with https://www.pgscatalog.org/rest/score/search?pmid=PGP000003&format=json #213

Closed
ramiromagno opened this issue Oct 4, 2021 · 1 comment · Fixed by #214

Comments

@ramiromagno
Copy link

https://www.pgscatalog.org/rest/score/search?pmid=PGP000003&format=json triggers a 500 Internal Server Error.

NB: While I do understand that PGP000003 is a not a possible value for pmid, the error shouldn't be an internal server error nevertheless.

@ens-lgil
Copy link
Member

ens-lgil commented Oct 5, 2021

Dear @ramiromagno,

Thank you for spotting this issue!
We recently change the way we store the PubMed IDs in the database (was stored as a string and now it's stored as a numeric value), and the REST API is now expecting a numeric value for the pmid parameter.
I am going to fix it.

Best regards,
Laurent

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

Successfully merging a pull request may close this issue.

2 participants