Does anyone have experience with generating tokens and authenticating POST calls to the REST API for ArcGIS server from SharePoint using Nintex Workflow?

3280
1
02-19-2016 02:34 PM
AdamInglis
Occasional Contributor II

Does anyone have experience with generating tokens and authenticating POST calls to the REST API for ArcGIS server from SharePoint using Nintex Workflow?  When we attempt to post, the following error is thrown:

Response status code: 200

Response content:

{
 "error": {
  "code": 500,
  "message": "Unable to complete operation.",
  "details": [
   "Parser error: Some parameters could not be recognized."
  ]
 }
}
Response headers:
Cache-Control=private, must-revalidate, max-age=0
Content-Type=text/plain;charset=utf-8
ETag=c081976e
Server=Microsoft-IIS/7.5,
X-AspNet-Version=4.0.30319
Set-Cookie=AGSWA_ROLES=t1W0ad/s9q2HvBXVZee3HTzVA7pjhuLXtyqOlsRX3RXef+MvrBMgKmrvp0IcMBWaQIi3wSKrvxSDCVcOdSTA0+TxN2q8uB+sy4fvzlyYeizKkQQtAMbP+IuFbpS2BUUfHEuX2oUQBZXE57oC4Lg3mwhm4WwbkaOVPeGvbRsYBtI+6J8J0sMbj+colURlgcgj8wLSWsklBu+3/Uk+m/vYlCr9mUAxI9VxMfxK6izgfETjWf4+LRZqWJg1+Fm1Lo1j9eSP/K0OGXt1voChIyPNzQ==; expires=Fri, 19-Feb-2016 22:27:10 GMT; path=/; HttpOnly
Persistent-Auth=true
X-Powered-By=ASP.NET
Date=Fri, 19 Feb 2016 22:22:10 GMT
Connection=close
Content-Length=158


Response cookies:
temp=
temp=

We are attempting to add a new feature service via workflow.

The JSON object works fine when manually entered into the feature service via browser, but when run through SharePoint, the following error is thrown. We also occasionally get “Unexpected error has occurred” or “Invalid credentials”.   Fiddler shows 401 authentication errors when the request is made.

We are specifically seeking assistance in the correct configuration of the URL, the proxy requirements, and any token generation and input requirements

Cheers.

0 Kudos
1 Reply
harleypowers_parks
New Contributor III

Did you find a solution for this?

0 Kudos