Exception when using CMIS with SharePoint
Exception displays when using Content Management Interoperability Services (CMIS) Integration with SharePoint. Subsequent to the exception, the document is stored successfully.
This occurs when uploading attachments to SharePoint during case creation by the Email Listener that used basic authentication for SharePoint connectivity. Out-of-the-box ProcessEmailIntake activity is used to create cases and the AddAttachmentFromEmail activity is used to upload attachments to SharePoint.
INFO [stdout] (Dispatcher-Thread-113) [EMAIL-Thread-131] [STANDARD] [ ] [your_app:03.04.01] (connect.cmis.CMISConnector) ERROR EMAIL.your_FaxListener.Listener|from([email protected]_org.com)|sub (8 Page Fax)|Email|your_EmailService|your_class|ProcessEmailIntake|A1D2C5F12F9FE68BC5C99FCFA86846139|Rule-Connect-CMIS.CMIS-ServiceData.Sharepoint_your_connect_CMIS
[stdout] (Dispatcher-Thread-113) org.apache.xyz.opencmis.commons.exceptions.CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
[stdout] (Dispatcher-Thread-113) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:466)
Steps to Reproduce
Send a FAX or an email. Listener reads the email or FAX (as email) and creates an Intake case automatically. A case is created automatically by the system. The system uploads all the attachments and receives the email in SharePoint.
A defect in Pegasystems’ code or rules.
The error occurred while setting the folder ID where the CMIS document will be saved. On newer versions of Pega, CMISConnector code is refactored to address this issue.
0% found this useful