Message Boards Message Boards

URLDownload broken in v14?

I have a notebook that used to work using v13.3, that updates the data used with URLDownload:

URLDownload["https://mydomain/myfile.csv", "myfile.csv"]

This used to work in v13.3. Now I upgraded to v14.1 and instead it says: invalid request. I tried to get the http error code, by adding options as in the documentation, but it only returns this message (that btw is not seen as an error, so it is now shown when running commands with suppressed output...initially I didn't really understand what was going on...). I suspect the download is not even attempted as it does not like the format of the request.... any tips?

POSTED BY: Giorgio Busoni

I can't access a file at the address you listed, but if I point to any other CSV file it works:

In[2]:= URLDownload["https://raw.githubusercontent.com/codeforamerica/ohana-api/refs/heads/master/data/sample-csv/addresses.csv", my-file.csv"]

Out[2]= File["my-file.csv"]

What output do you get from the above command?

POSTED BY: Jason Biggs
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract