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)