openphacts / GLOBAL

Global project issues [private for now. owner lee harland]
3 stars 0 forks source link

Pathway count returns 500 error, list works fine #367

Closed danidi closed 7 years ago

danidi commented 8 years ago

For some uniprot URIs (eg. http://www.uniprot.org/uniprot/P06213 and http://www.uniprot.org/uniprot/P08183), both the Pathway for Target: Count and the Pathway Interactions for Entity: Count API call returns a 500 error. The corresponding list calls return results.

Compare https://beta.openphacts.org/2.1/pathways/byTarget/count?uri=http%3A%2F%2Fwww.uniprot.org%2Funiprot%2FP06213&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1 and https://beta.openphacts.org/2.1/pathways/byTarget?uri=http%3A%2F%2Fwww.uniprot.org%2Funiprot%2FP06213&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1

Other Uniprot URIs work fine (e.g. http://www.uniprot.org/uniprot/P02722, which is the corresponding Uniprot entity for the given example). This one has less mappings, so maybe this is an issue?

It affects both 2.0 and 2.1