The HTTP File Download Smart Service fails to download a file which contains spaces in the name and the following error is generated in the application server log:
HH:MM:SS INFO [stdout] (Appian Work Item - 4 - ProcessExec01 : UnattendedJavaActivityRequest) YYYY-MM-DD HH:MM:SS [Appian Work Item - 4 - ProcessExec01 : UnattendedJavaActivityRequest] ERROR com.appian.integration.httpclient.smartnode.HttpSmartNode - ConnectorRuntimeException [title=Error calling HTTP File Download, com.appian.integration.core.exception.ConnectorRuntimeException: Illegal character in path at index X: <URL_TO_FILE>]
The following error is also seen in the errorInfo process variable:
Title: Error calling HTTP File Download, Message: Illegal character in path at index X: <URL_TO_FILE>, Details:
The Endpoint input is set to include both the URL and file name which contains an illegal character at index X.
To correct this issue, make the following adjustments:
This article applies to Appian 7.9 and later.
Last Reviewed: June 2018