Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIP responds with 500, rather than 404 (potentially) #68

Open
marioprudhomme opened this issue Nov 9, 2018 · 0 comments
Open

APIP responds with 500, rather than 404 (potentially) #68

marioprudhomme opened this issue Nov 9, 2018 · 0 comments

Comments

@marioprudhomme
Copy link
Member

When doing GET /path/{uuid} and you dont pass a uuid, it generates a 500 database error

"type": "https://tools.ietf.org/html/rfc2616#section-10",
"title": "An error occurred",
"detail": "An exception occurred while executing 'SELECT a0_.id AS id_0, a0_.uuid AS uuid_1, a0_.data AS data_2, a0_.version AS version_3, a0_.created_at AS created_at_4, a0_.updated_at AS updated_at_5, a0_.plan_id AS plan_id_6 FROM app_tenant a0_ WHERE a0_.uuid = ?' with params ["tenants"]:\n\nSQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for uuid: "tenants"",
"trace": [

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant