Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message for unknown key only mentions metadata filter keys #646

Open
chaoran-chen opened this issue Feb 14, 2024 · 0 comments
Open
Labels
bug Something isn't working LAPIS Tasks/PR related to LAPIS

Comments

@chaoran-chen
Copy link
Member

Calling /sample/aggregated?doesNotExist=123 returns the error:

{
    "error":
    {
        "type": "about:blank",
        "title": "Bad Request",
        "status": 400,
        "detail": "'doesNotExist' is not a valid sequence filter key. Valid keys are: <many keys>"
    },
    "info":
    {
        "dataVersion": null,
        "requestId": "6be22ccd-edd5-4b92-bcfa-f458de150de3"
    }
}

<many keys> only contains the keys for filtering the metadata. It misses

  • Mutation filters (e.g., nucleotideMutations)
  • fields
  • OrderBy and limit
  • more?
@chaoran-chen chaoran-chen added bug Something isn't working LAPIS Tasks/PR related to LAPIS labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LAPIS Tasks/PR related to LAPIS
Projects
None yet
Development

No branches or pull requests

1 participant