Add the invalid url to the exception