Skip to content

Have proper HTTP error codes on the API #35

@jan-xyz

Description

@jan-xyz

The API should have consistent and proper usage of HTTP error codes.

Right now wrong usage mostly results in an Internal Server Error (50x) and doesn't properly tell the user what went wrong. Furthermore, the API sometimes doesn't respond with an error code at all when obviously user input wasn't okay (see uploading files).

See https://httpstatuses.com for a list of responses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions