bail if no valid url is provided