Sharepoint Integration Issue

Hi All,

I want to integrate Appian with sharepoint. To download a document from sharepoint, I am using fn "a!shpCopyDocumentToAppian" but when I am using the following expression, I am getting Error "An error occurred while attempting to store into variable local!download. Details: The site-wide credentials for this system [key=sharepointcredetials_rishu] have not been configured in the secure credentials store. Please ask an administrator to update the credentials in the Third-Party Credentials page in the Administration Console"

=a!shpCopyDocumentToAppian(
scsExternalSystemKey: cons!SHAREPOINT_EXTERNAL_SYSTEM_KEY,
usePerUserCredentials: false(),
hostname: cons!SHAREPOINT_HOSTNAME,
port: cons!SHAREPOINT_PORT,
timeout: 3000,
retries: 1,
path: "/_api/web/GetFileByServerRelativeUrl('/Shared%20Documents/2015%20ABCD%20EFGH/" & ri!filename &"')/$value",
appianFolder: tointeger(cons!SHAREPOINT_APPIAN_FO...

OriginalPostID-247083



  Discussion posts and replies are publicly visible

Parents
  • I was able to fix that issue & when I moved forward,I got the following error:
    [success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:sharepointinvoke function error,message:The external server for this system [key=sharepointcredetials_rishu] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.RuntimeException: Exceeded allowed retry attempts,detail:]]

    The server logs are showing the following error:
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
              at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.RuntimeException: Exceeded allowed retry attempts
              at com.appian.integration.sharepoint.SharepointIntegrationHandler.executeHttpRequest(SharepointIntegrationHandler.java:282)
              at com.appian.integration.sharepoint.SharepointIntegrationHandler.sharePointGet(SharepointIntegrationHandler.java:144)
              at com.appian.integration.sharepoint.SharepointIntegrationHandler.invokeHandle(SharepointIntegrationHandler.java:97)
              at com.appian.integration.sharepoint.service.SharePointService.sharepointInvoke(SharePointService.java:67)
              at com.appian.integration.sharepoint.function.SharePointInvoke.sharepointinvoke_appian_internal(SharePointInvoke.java:58)
              ... 630 more
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
              at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
  • 0
    A Score Level 1
    in reply to rishub
    Hi All, I am facing this same issue now. Do we have any solution for this problem. Please share your inputs on this.
    -- Details: The external server for this system [key=sharepoint.external] generated an exception when calling a function [shpCopyDocumentToAppian]. Details from external system: java.lang.RuntimeException: Exceeded allowed retry attempts
Reply
  • 0
    A Score Level 1
    in reply to rishub
    Hi All, I am facing this same issue now. Do we have any solution for this problem. Please share your inputs on this.
    -- Details: The external server for this system [key=sharepoint.external] generated an exception when calling a function [shpCopyDocumentToAppian]. Details from external system: java.lang.RuntimeException: Exceeded allowed retry attempts
Children
No Data