OIC integration via Rest connector am getting error "411 required client response code"
Summary:
The OIC Integration is connecting to SharePoint Authentication API(https://login.microsoftonline.com) to retreive the bearer access token. Have configured the client_ID, Client_secret,Scope ..in the OIC Rest Adapter.
Have set the property in the xslt EnforceEmptyJSONObjectPayload to true.
Http header value has been set for Content-Length and Content-Type... while testing the OIC integration am getting error "411 required client response code......"
Error Details:
.The HyperText Transfer Protocol (HTTP) 411 Length Required client error response code indicates that the server refuses to accept the request without a defined Content-Length header. This is a common condition with POST calls especially when the target service expects an explicit content-length header in the request. To fix this error or force a content-length header, set EnforceEmptyJSONObjectPayload connectivityProperty from the OIC mapper preceding the REST adapter inv:Application Error