URISyntaxException with spaces in URL in Download Visual-Recipe

Options
rmios
rmios Registered Posts: 19 ✭✭✭✭

Trying to download files with spaces in the URL causes the following error:

Oops: an unexpected error occurred
Illegal character in path at index 67: https://archive.ics.uci.edu/ml/machine-learning-databases/00264/EEG Eye State.arff

Please see our options for getting help
HTTP code: 500, type: java.net.URISyntaxException

Using %20 instead of spaces causes another error:

Invalid argument
An invalid argument has been encountered : Illegal character in path at index 67: https://archive.ics.uci.edu/ml/machine-learning-databases/00264/EEG Eye State.arff, caused by: URISyntaxException: Illegal character in path at index 67: https://archive.ics.uci.edu/ml/machine-learning-databases/00264/EEG Eye State.arff

DSS Version is 7.0.2

Answers

  • Clément_Stenac
    Clément_Stenac Dataiker, Dataiku DSS Core Designer, Registered Posts: 753 Dataiker
    Options

    Hi,

    It looks like your error is the same in both cases, could you please show a screenshot showing the URL with all %20 and the error?

  • rmios
    rmios Registered Posts: 19 ✭✭✭✭
    Options

    Hi, that is because %20 is the same as a space in the HTTP URL - the only difference is a slightly different appearance of the error in the DSS web UI. Please find the screenshot you requested attached.

    EDIT: By the way, the URL is valid so you can also try it yourself to get the error.

Setup Info
    Tags
      Help me…