verbose logging when url is rejected for api calls