marello
marello copied to clipboard
Handle UniqueConstraintViolationException
Hello,
if I wrongly post the same order a second time an UniqueConstraintViolationException is thrown. Everything fine. But the server responses "401 Unauthorized". 500 or any similar error code is better.
Thanks
Hi @clicktrend,
Thank you for the feedback! I'll have a look at it and see if we can enhance the error responses in future.
Kind Regards,
Jaimy Casteleijn