Automate a negative test: handle validation errors
Automation taskMediumJava onlyAsked in: Amazon, Swiggy
"Write a negative test for this endpoint" is the natural follow-up to the POST task. Assert both the status and the error message; checking only one of them is a common weak answer.