support valid error message when an invalid path is submitted