Skip to content

Next link generated in search results causes JSON parse error #43

@kbgg

Description

@kbgg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions