If you get this error when sending a query with an API platform like Postman, it means the query results are too large for Postman to receive the response. This error is often accompanied by java.io.IOException: Broken pipe
in stardog.log.
You have two options for how to proceed from here. One is to increase the maximum response size allowed by your API platform. You can see this article for how to do this in Postman.
Alternatively, you can page your results with the LIMIT
and OFFSET
keywords. Your query would look like this:
SELECT [variables]
{
[query body]
}
LIMIT X
OFFSET Y
replacing X with whatever limit you want. You can start Y at 0 and increase it by multiples of X until you've gotten the full result set.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article