You are currently reviewing an older revision of this page.
When using the HTTP File Download Smart Service, it fails to download a file which contains spaces in the name and the following error is generated in the application server log:
05:12:36,656 INFO [stdout] (Appian Work Item - 4 - ProcessExec01 : UnattendedJavaActivityRequest) 2018-05-29 05:12:36,655 [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.