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)
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_datereturns:error "Invalid query parameters error."Modifying the call by removing the
-beforepublication_dateappears 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)