Skip to content

Return 404 on unknown queriesΒ #46

@jacebrowning

Description

@jacebrowning

We should only return an empty response when we recognize all parts of a query.

These queries should return a 404 with an error message:

  • /api/ballots/?election_id=999999
  • /api/ballots/?precinct_county="Not A Real Place"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions