Check out the first Dataiku 8 Deep Dive focusing on Productivity on October 29th Read More

URISyntaxException with spaces in URL in Download Visual-Recipe

Level 2
URISyntaxException with spaces in URL in Download Visual-Recipe

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

0 Kudos
2 Replies
Dataiker
Dataiker

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?

0 Kudos
Level 2
Author

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.

0 Kudos