Add a more helpful error message for add_link