Skip to content

Recipes result in errors #1

@da5nsy

Description

@da5nsy

Context: I'm a new user trying to understand the API.

I was looking at the recipes on https://developers.openalex.org/guides/recipes (https://github.com/ourresearch/docs/blob/main/guides/recipes.mdx), and copy-pasting them into the browser URL bar.
Many of them returned errors.

For example: https://api.openalex.org/works?filter=author.id:A5023888391&sort=-publication_date returns: error "Invalid query parameters error."

Modifying the call by removing the - before publication_date appears to resolve the issue.

I suspect that perhaps there is some implicit guidance missing - am I meant to run these commands in some other way than pasting them into the URL bar? (for example)

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