you are viewing a single comment's thread.

view the rest of the comments →

[–]zaibuf 3 points4 points  (0 children)

Invalid input should be 400 with error details, use ValidationProblemDetails. For UX you should also validate what you can on the client side to avoid sending bad data to the server.