Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

"[ERROR] org.apache.http.MalformedChunkCodingException: Unexpected content at the end of chunk" while running a subscription in Informatica MFT
Problem Description
The subscription task fails after processing a few records and following is the error seen in mapping log:
READER_6_2_1>
com.cloud.DIH.adapter.rest.read.DIHAdapterRead_0 [2019-06-28 03:14:27.340]
[INFO] POST Rest Call to http://zzz:<port>/read
, using proxy null:null

READER_6_2_1> com.cloud.rest.service.template.StreamingResponseRestApiCallServiceImpl_0 [2019-06-28 03:14:27.340] [INFO] SimpleRestApiCallServiceImpl : postRestCall

READER_6_1_1> com.cloud.DIH.adapter.rest.read.DIHAdapterRead_0 [2019-06-28 03:14:27.342] [INFO] POST Rest Call to http://zzz:<port>/read , using proxy null:null

READER_6_1_1> com.cloud.rest.service.template.StreamingResponseRestApiCallServiceImpl_0 [2019-06-28 03:14:27.342] [INFO] SimpleRestApiCallServiceImpl : postRestCall

READER_6_2_1> CMN_1761 [2019-06-28 03:19:43.305] Timestamp Event: [Fri Jun 28 03:19:43 2019]

READER_6_2_1> com.cloud.rest.service.template.StreamingResponseRestApiCallServiceImpl_0 [2019-06-28 03:19:43.305] [ERROR] org.apache.http.MalformedChunkCodingException: Unexpected content at the end of chunk

com.google.gson.JsonSyntaxException: org.apache.http.MalformedChunkCodingException: Unexpected content at the end of chunk

        at com.google.gson.Gson.fromJson(Gson.java:820)

        at com.cloud.rest.service.template.StreamingResponseRestApiCallServiceImpl.handleResponse(StreamingResponseRestApiCallServiceImpl.java:40)

        at com.cloud.rest.service.template.SimpleRestApiCallServiceImpl.postRestCall(SimpleRestApiCallServiceImpl.java:134)

        at com.cloud.DIH.adapter.rest.read.DIHAdapterRead.readFromService(DIHAdapterRead.java:288)

        at com.cloud.DIH.adapter.rest.read.DIHAdapterRead.read(DIHAdapterRead.java:190)

        at com.informatica.cloud.api.adapter.reader.runtime.GenericRdrPartitionDriver.run(Unknown Source)

 
Cause
​This is due to the rest API call made. The incomplete data was provided, and the CIH was unable to parse it failed the job.
Solution
​Run the API call from outside Informatica and see if it runs fine. If that fails with the same error, it is certain that the issue is with the data received from the REST API Call.
More Information
Applies To
Product: Cloud B2B
Problem Type: Connectivity
User Type: Developer
Project Phase: Configure
Product Version:
Database:
Operating System:
Other Software:

Reference
Attachments
Last Modified Date:7/1/2019 9:38 PMID:578831
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)