openphacts / GLOBAL

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

Target pharmacology pageSize=all error #377

Closed danidi closed 7 years ago

danidi commented 7 years ago

E.g. for https://beta.openphacts.org/2.1/target/pharmacology/pages?uri=http%3A%2F%2Fwww.uniprot.org%2Funiprot%2FP56470&app_id=f91c5b2b&app_key=18a5d823d0e4933ac5fe22a3d52974c1&_pageSize=all&_pageSize=all a 500 server error occurs. There are only 29 activity values, setting the pageSize to 30 returns all results.

ianwdunlop commented 7 years ago

This works on alpha with the expected 29 results.

randykerber commented 7 years ago

This appears to work running v2.2 LD API from my Mac and with the SPARQL endpoint from v2.2 (alpha). Does not work if using the SPARQL endpoint from v2.1 (beta).

randykerber commented 7 years ago

Works for v2.2 so closing.