Return error if path is not found