Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
1835 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
We have recently upgraded Appian environment to 16.1. However, after upgrade the
TJ
A Score Level 2
over 9 years ago
We have recently upgraded Appian environment to 16.1. However, after upgrade the shpInvoke() function has stopped working. For all the requests it is giving one response.
[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:sharepointinvoke function error,message:The external server for this system [key=SharepointExternalKey] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.IllegalArgumentException: Not a JSON object: ,detail:]]
It is giving the same response even for invalid tp credentials. I tried using same code in 7.9 and it is working fine.
I have also verified that SharePoint server is Accessible from Appian server and I am able to telnet it. Any pointers please?
OriginalPostID-194349
OriginalPostID-194349
Discussion posts and replies are publicly visible
0
Vamsi Sunkara
Appian Employee
over 9 years ago
Hi Tajinder,
Are both requests (7.9 and 16.1) coming from the same network? Meaning, are they both on premise? Also, does this work when you go to the URL from a browser? Have you taken a look at the IIS logs? Perhaps that can give us a little more detail on the response from the sharepoint server. I presume on the sharepoint side, there aren't any errors when the credential is correct?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
TJ
A Score Level 2
over 9 years ago
Hi Vamsi, Yes the rest service is working fine in the browser. Appian server log is giving the same error as pasted above. Also I have included web-parts in SharePoint server and they are running fine. Its just that after upgrade shpInvoke() stopped working.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jaisym
over 9 years ago
We also tried fetching the documents from SharePoint using shpInvoke() function, but we faced the same error
[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:sharepointinvoke function error,message:The external server for this system [key=SharepointExternalKey] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.IllegalArgumentException: Not a JSON object: ,detail:]]
Please could you suggest on this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel