Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Content-Length Issue in REST API

Hi All,
Calling HCM Fusion REST API and performing Patch Operation. Whenever I run integration got error out with Error.

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 invoke configuration.

I hard coded values in Mapper as well but still same issue.

Comments
Post Details