Skip to content

API is not responding with 4xx when it is bad request and 5xx when it is really a temporary issue or technical issue #319

Open
@matiwinnetou

Description

@matiwinnetou

API is not responding with 4xx when it is bad request and 5xx when it is really a temporary issue or technical issue.

We shuold try to see if we can prepare the API and make it according to somewhat REST standards since load balancers / proxies such as traefik expect certain contracts.

It could mean having two type of exceptions in the api:

  • APICriticalException (5xx)
  • APIException (4xx)

and have http handler resolve this properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions