Added failure response for incorrect categories