Return error message if no wid is passed