error if no link is given