Case attachment error after enabling MarkLogic repository
Hi,
I am using Pega version 8.5.5 and trying to use Marklogic as a repository for case attachments but I'm having issues attaching content to the case when I configure the application content storage to use the Marklogic repository I created.
I downloaded the MarkLogic Connector, configured the MarkLogic instance successfully for Pega to connect by running the mlDeploy gradle task, and imported the Marklogic component into my Pega application.
From there, I created a Repository instance with the connection details and when I test the connection its connects ok, however when I try to validate the repository it fails NewFile, GetFile, and Delete with the following message:
"Failed to save data page 'D_pxNewFile_pa2058584176738716pz' : the HTTP response code of 500 indicated a server error. The response data may contain a reason. // The service response contained insufficient data for mapping: The following header(s) were not populated: [Location]."
Also in the PegaRULES-ALERT log I see this message:
Hi,
I am using Pega version 8.5.5 and trying to use Marklogic as a repository for case attachments but I'm having issues attaching content to the case when I configure the application content storage to use the Marklogic repository I created.
I downloaded the MarkLogic Connector, configured the MarkLogic instance successfully for Pega to connect by running the mlDeploy gradle task, and imported the Marklogic component into my Pega application.
From there, I created a Repository instance with the connection details and when I test the connection its connects ok, however when I try to validate the repository it fails NewFile, GetFile, and Delete with the following message:
"Failed to save data page 'D_pxNewFile_pa2058584176738716pz' : the HTTP response code of 500 indicated a server error. The response data may contain a reason. // The service response contained insufficient data for mapping: The following header(s) were not populated: [Location]."
Also in the PegaRULES-ALERT log I see this message:
" @BASECLASS PXCALLCONNECTOR #20200518T121159.480 GMT Step: 21 Circum: 0*0****NA*NA*Data-WorkAttach-File*pyNewFileAttachment*Data-WorkAttach-File* pyNewFileAttachment*Save-DataPage; RULE-OBJ-ACTIVITY DATA-WORKATTACH-FILE PZSAVETOREPOSITORY #20201008T190000.809 GMT Step: 10 Circum: 0; doActivity Rule-Obj-Activity:pzSaveToRepository; Call pzSaveToRepository; RULE-OBJ-ACTIVITY DATA-WORKATTACH-FILE PYSAVEFILECONTENT #20200330T125710.565 GMT Step: 3 Circum: 0; 25 additional frames in stack; *pxObjClass=;filePath=[removed];repositoryName=[removed]; pyTempPlaceHolder=TempPlaceHolder; *[MSG][Failed to save data page 'D_pxNewFile' : the HTTP response code of 500 indicated a server error. The response data may contain a reason. // The service response contained insufficient data for mapping: The following header(s) were not populated: [Location]. "
Also, If I try to add an attachment to a case using the attach content control I get an error.
I've attached screenshots of the marklogic repository rule and the application's content storage configuration in the integration and security tab of the application definition.
Can anyone help me understand what the issue with the repository is? Thank you for your help and time