When the result for the collection/items endpoint is returned, it includes a link to fetch the next page of results which looks like this:
https://api.server.com/collections/some_collection/items?collections=some_collection&page=2&limit=10
When navigating to this link, this error is generated:
Unexpected token r in JSON at position 0
It looks like the collections parameter is expected to be a JSON array of strings rather than just a single string causing a JSON parsing error.