Correctly report error on wrong action argument