Added check for bad status code when trying to download data_url