Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!