Changed the uniqueness error code to 204(No Content) to prevent browser error caused by 404