Skip to content

Server provides misleading error code #47

@MicahSchiewe

Description

@MicahSchiewe

Steps to reproduce:

  • Perform an operation in a call to the /matcher endpoint which causes an exception to be thrown (example: attempt to perform a Google search without a valid API key).

Expected result:

  • The program tells me that the server encountered an error

Actual result:

  • The program gives me a 204 response code, implying the query was successful but did not produce a response

This is based off of my understanding of how HTTP response codes should be used, so if I'm incorrect somewhere, please let me know.

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