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

Comment POST route throws a 500 instead of 400 when payload is malformed #181

Open
Fermain opened this issue Apr 22, 2024 · 1 comment
Open
Assignees
Labels
v2 Related to API v2

Comments

@Fermain
Copy link
Contributor

Fermain commented Apr 22, 2024

Steps to reproduce:

POST to a valid social post id, and include a foreign key:

{
  test: "abc"
}

Expected result: 400, you must include a body in your comment.

Actual result: 500 generic

@Fermain Fermain added the v2 Related to API v2 label Apr 22, 2024
@Fermain Fermain self-assigned this Apr 22, 2024
@jaaneh
Copy link
Collaborator

jaaneh commented Apr 22, 2024

Not seeing a 500 here

image

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

No branches or pull requests

2 participants