Azure Logic App - Issue with Flat File Decoder RRS feed

  • Question

  • Hi All,

    I am using Flat File Decoder in Azure Logic App for decoding Flat file content. I have tested locally in biztalk. Validate Instance is working fine with selected Schema & flat file instance.

    Same task i am doing in logic app. I have uploaded my schema in integration account & using in Logic app in Flat File Decoding action.

    Below is the error received in Logic app-

    BadRequest. Decoding of the flat file failed: 'Unable to match the data in the input stream.'.

    Below is the input for Flat File Decoding Action in Logic App-


        "content": "UNH+1+DESADV:D:96A:UN:EAN005'\r\nBGM+351+567890+9'\r\nDTM+137:20140527:102'\r\nDTM+2:20140527:102'\r\nDTM+17:20140527:102'\r\nRFF+ZZZ:ZEL'\r\nRFF+ON:4500070422'\r\nRFF+DQ:180131111'\r\nNAD+SU+++Ardagh Metal Packaging Netherlands+Zweedsestraat 7+DEVENTER++7418 BG+NL'\r\nRFF+IT:0000126142'\r\nNAD+DP+8712423014770++Althuisius Opslag BV+Zwettestraat 26+Leeuwarden++8912 AV+NL'\r\nRFF+IT:3206'\r\nCPS+1'\r\nLIN+1'\r\nPIA+1+0150613:SA'\r\nPIA+1+1234567890:MF'\r\nPIA+1+VENDOR BATCH:NB::90'\r\nQTY+12:100:EA'\r\nLOC+18++3101::91+L001::91'\r\nPCI+17'\r\nDTM+361:20150115:102'\r\nDTM+44:20141215:102'\r\nGIN+BX+20000TD'\r\nGIN+BN+9200'\r\nUNT+25+1'\r\nUNZ+1+00000010577274'",
        "integrationAccount": {
            "schema": {
                "name": "EFACT_D96A_DESADV"

    Does anyone faced to the same situation?



    dharampal sikhwal

    Thursday, August 17, 2017 8:27 AM


  • What you have is EDIFACT content so you wouldn't use the Flat File Decoding Action.

    For this, you would use the EDIFACT Action with an EDIFACT Schema.

    • Proposed as answer by Ben Cline1 Wednesday, August 23, 2017 9:28 PM
    • Marked as answer by Dharampal Sikhwal Sunday, September 17, 2017 5:50 AM
    Thursday, August 17, 2017 1:30 PM