IBM TechXchange Group

 View Only

 Unable To Route Flat File Document From webMethods IO Integration To B2B

ABIR BANERJEE's profile image
ABIR BANERJEE posted Fri December 19, 2025 11:08 AM

Hi All,

I am trying to perform POC on flat file handling in IBM Hybrid Cloud Integration Platform. I created a flat file connector in IO Integration and then using the same I am able to create a flat file document in B2B tenant as well. When I am trying to route a sample flat file data from IO Integration to B2B using the "webMethods io B2B connector" service 'submit' , along with TN params [ TN_parms/SenderID , TN_parms/ReceiverID and TN_parms/DoctypeName] . The document is getting identified by B2B and processing rule invoked. However B2B is unable to parse the content of the document and throwing below error.

FFDocType DemoSubscriberFF encountered an error reading the document bytes.

FFDocType DemoSubscriberFF encountered an error reading the document bytes. Key "ffdata" is not found in the pipeline

Has anyone encountered this scenario? Please confirm.

Regards
Abir

Matheus Porsch's profile image
Matheus Porsch
Your document is being identified, but the payload bytes aren’t arriving in the field/name that the flat-file handling expects, so the FFDocType can’t read the document content.
Make sure:
 
The actual flat file content is passed as ffdata (bytes/stream), not just “content”, “data”, etc.
Send the payload as bytes (not a JSON string)
Use the “construct submit input”
Ensure the content type is compatible with flat file recognition/processing (commonly text/plain)
ABIR BANERJEE's profile image
ABIR BANERJEE

Issue has been resolved by passing the content as bytes and content-type as application/x-wmflatfile. IS is now able to identify as ffdata.