Skip to content

Invalid search filter syntax results in a 500 without a useful response #258

@plural

Description

@plural

https://api-preview.netrunnerdb.com/api/v3/public/printings?filter[search]=foo:bar

returns

{
  "errors": [
    {
      "title": "Internal Server Error",
      "detail": "Internal Server Error",
      "code": "500",
      "status": "500"
    }
  ]
}

Instead of something that highlights what is wrong with the query

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsearch

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions