ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

When attempting to use the attmnt REST method it shows a HTTP 500 error


Article ID: 132350


Updated On:


SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager


When attempting to use the attmnt REST method it shows a HTTP 500 error, the JREST log shows the error bellow:

ERROR FileUploadUtils ? Exception error on file download operation for attmnt id(XXXXXX). java.lang.RuntimeException: Repository Daemon replied with error code: 8


The file being retrieved did not exist, this was found only if the log level for the rep_daemon process is increased to trace as it can be seen bellow as part of the result of the stdlog file:

rep_daemon 31176 TRACE FileMng.c 500 IsPathExist() - Unable to find path ../PROGRA~2/CA/SERVIC~1/site/attachments/default/servicedesk/files/rep_folder_00001/Name.pdf.gz (No such file or directory (2))


Service Desk 14.1 or higher


In order to verify if the method works properly, test with a recent uploaded file in a ticket, this will guarantee that the file exists in the repository.