Persistent "Temporary failure in name resolution" when downloading file in Action

I am writing an action that allows a user to download some CSV files into their conversation to then interact with. Chat GPT generally generates some code to do this along the lines of:

import pandas as pd

# URL of the downloaded CSV file for Big Data
big_data_url = "https://my-site.com/link/to/download/data"

# Load the CSV data into a DataFrame
big_data = pd.read_csv(big_data_url)

# Save to workspace
big_data_file_path = '/mnt/data/big_data.csv'
big_data.to_csv(big_data_file_path, index=False)

# Display DataFrame to the user
import ace_tools as tools; tools.display_dataframe_to_user(name="Big Data", dataframe=big_data)

big_data_file_path

However I seem to persistently be getting the following stack trace when Chat GPT tries to run this code:

File /usr/local/lib/python3.11/urllib/request.py:1377, in HTTPHandler.http_open(self, req)
   1376 def http_open(self, req):
-> 1377     return self.do_open(http.client.HTTPConnection, req)

File /usr/local/lib/python3.11/urllib/request.py:1351, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args)
   1348         h.request(req.get_method(), req.selector, req.data, headers,
   1349                   encode_chunked=req.has_header('Transfer-encoding'))
   1350     except OSError as err: # timeout error
-> 1351         raise URLError(err)
   1352     r = h.getresponse()
   1353 except:

URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

Has anyone seen this before? Is this just a temporary issue? Am I doing something incorrect/misunderstanding how downloading files in Actions works?