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
10 replies
Subscribers
7 subscribers
Views
5827 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
I am getting the following error when trying to upload a document from Appian to
venkats533
over 9 years ago
I am getting the following error when trying to upload a document from Appian to Sharepoint. I have followed the sample code from documentation. Any idea what this really means ?
Caused by: com.appiancorp.suiteapi.common.exceptions.AppianException: An error occurred while attempting to store into the following variables: [local!shpCopyDocumentFromAppianWriter]. Details: [[local!shpCopyDocumentFromAppianWriter:HTTP/1.1 403 FORBIDDEN , {"error":{"code":"-2130575251, System.Runtime.InteropServices.COMException","message":{"lang":"en-US","value":"The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again."}}}]] (APNX-1-4245-002)
OriginalPostID-149619
OriginalPostID-149619
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 9 years ago
The 403 error indicates that appian was able to reach and authenticate to the sharepoint server, but it does not have access for the requested resource, in this case likely a path on the file system to place the document.
Is this Appian account connecting to the sharepoint server allowed sufficient access? Is that account in the right security groups?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
Aleski, yes, the Appian account is member of owner group. Using IE, using the same account, I am able to upload document.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
I got past the security validation error. Now I am getting the following error
"Value does not fall within the expected range" any one has a clue ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
ok - guys, i resolved all my issues now and able to successfully upload an Appian document to Sharepoint 2013. Now I am familiar with all types of error messages from Sharepoint
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
Basically, each sharepoint setup is slightly different. so, following documentation alone would not help. have to try all other possible alternatives before giving up.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
- Go to Sharepoint Central Administration
- Then go to Application Management -> Web Applications -> Manage web applications.
- Click on the web application, and on the top of the page click General Settings.
- Go to the Web Page Security Validation section, from Security validation is, select Off.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Those steps are for the security validation error. For the other one it means that whatever you're passing is not in the right format, most likely the URL syntax is wrong.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
Eduardo, you are spot on two errors I have reported. I wish these are documented. I had to do a lot of Google to figure out those two errors and spent almost a full day.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Amitkumar
over 8 years ago
Hi Eduardo,
We have turned off Security validation in SharePoint and that helps us to upload document successfully to SharePoint. But, this option will not be approved for Production usage. Is there something that we can do from Appian without turning off security validation in SharePoint to upload and retrieve documents successfully?
I am sure, you will have an answer to this :). Just waiting for that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Amitkumar
over 8 years ago
Aleski / Venkat,
Despite adding user to SharePoint owner group, we get FORBIDDEN security validation error . We are currently on Appian 16.1 and SharePoint 2013 environments. Can you please elaborate more on the approach that you used to solve this issue?
Please note that, we use Appian cloud to connect with an on premise SharePoint installation.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel