better error when the url is too long