Sharepoint 2013 integration issue -

I am trying to execute example mentioned in forum to test "a!shpInvoke() - to Get metadata of files in SharePoint 2013 to Appian 16.3 (Cloud)" functionality using connector functions-

forum.appian.com/.../Connector_Functions.html

Code / Example from forum connection :-

=load(
local!pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: 10,
sort: a!sortInfo(
field: "Name",
ascending: true
)
),
with(
local!sharepointQueryResult: a!shpInvoke(
scsExternalSystemKey: cons!SHAREPOINT_EXTERNAL_SYSTEM_KEY,
usePerUserCredentials: true,
hostname: cons!SHAREPOINT_HOSTNAME,
port: cons!SHAREPOINT_PORT,
timeout: cons!SHAREPOINT_TIMEOUT,
retries: cons!SHAREPOINT_NUM_RETRIES,
path: "/_api/Web/getfolderbyserverrelativeurl('Shared%20Documents')/Files?$select=Name,ServerRelativeUrl,Time...

OriginalPostID-265590


jboss1-stdOut.log

  Discussion posts and replies are publicly visible

Parents
  • ... rgumentException: org.codehaus.jackson.JsonParseException: Unexpected character ('?' (code 65279 / 0xfeff)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
    09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19) at [Source: java.io.StringReader@3cf10c61; line: 1, column: 2]]
    09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19)           at com.appian.integration.sharepoint.function.SharePointInvoke.sharepointinvoke_appian_internal(SharePointInvoke.java:69)
    09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19)           at sun.reflect.GeneratedMethodAccessor14755.invoke(Unknown Source)
    Please find enclosed error details.

    Can you please help me understand the cause of this issue ?

Reply
  • ... rgumentException: org.codehaus.jackson.JsonParseException: Unexpected character ('?' (code 65279 / 0xfeff)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
    09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19) at [Source: java.io.StringReader@3cf10c61; line: 1, column: 2]]
    09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19)           at com.appian.integration.sharepoint.function.SharePointInvoke.sharepointinvoke_appian_internal(SharePointInvoke.java:69)
    09:27:01,710 INFO [stdout] (ajp-/0.0.0.0:8009-19)           at sun.reflect.GeneratedMethodAccessor14755.invoke(Unknown Source)
    Please find enclosed error details.

    Can you please help me understand the cause of this issue ?

Children
No Data