Black Lives Matter. Please consider donating to Black Girls Code today.

CSV import from URL broken

This question has come up before, but without a satisfactory resolution.

The following valid CSV is not accepted by the Chart Studio Import by URL form:


It passes CSV validation on . I’m matching the content type and line-feeds of working csvs. I’ve been beating my head against this for a year. Any helpful input would be greatly appreciated.

I’ll change the text there, but we only support secure URLs that start with https://, so that’s why your URL is failing to load. The error from the console is

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure resource ''. This request has been blocked; the content must be served over HTTPS.

Okay, the file doesn’t work over https either. That is not the problem. I don’t have that server set up for https, but an identical one fails with https.

If you can serve that file up on HTTPS I can take a look… push it up to github or something?

Here’s your same file, up on Github in a secret Gist:

Works ok for me from that URL…

Thank you for that. I’m still beating my head against the wall. I changed my server config to identically match the Content-Type for your working example (and I’ve tried various permutations of mime types and character encodings. Oh well.