# EDI Core: parse EDI files without envelopes

> EDI Core: parse EDI files without envelopes

Published Jan 10, 2022

Product: EDI platform

As a consumer of the /translate EDI core API, you now have the ability to parse EDI files that do **NOT** have envelopes. Before this enhancement, parsing a file without ISA/IEA GS/GE segments would result in a 422 response. Now, the EDI Core API will return a response based on the desired output parameters. The API response will identify the missing envelopes and elements for you.

View the response of the following payload in the [inspector](https://www.stedi.com/edi/inspector?value=ST*850*000000001%7E%0ABEG*24*SP*PO-00001**20210901%7E%0AN1*2L*STEDI+INC.%7E%0AREF*K6*A+composable+platform+for+building+flexible+EDI+systems%7E%0APER*SR**EA*team%40stedi.com%7E%0APO1**1*2P*0.0001*PE*GE*EDI+Core%7E%0APO1**1*C0*0.05*PE*GE*Mappings%7E%0ACTT*2%7E%0ASE*9*000000001%7E):

`ST*850*000000001~ BEG*24*SP*PO-00001**20210901~ N1*2L*STEDI INC.~ REF*K6*A composable platform for building flexible EDI systems~ PER*SR**EA*team@stedi.com~ PO1**1*2P*0.0001*PE*GE*EDI Core~ PO1**1*C0*0.05*PE*GE*Mappings~ CTT*2~ SE*9*000000001~`

**EDI Core: parse segments not in spec**

The /translate EDI core API has been updated to support the parsing of segments that are not part of a given X12 release. Before this update, such a segment would result in a 422 response. Now, the API will return a valid response that clearly identifies the segment in question.

View the response of the following payload in the [inspector](https://www.stedi.com/edi/inspector?value=ST*850*000000001%7E%0ABEG*24*SP*PO-00001**20210901%7E%0AN1*2L*STEDI+INC.%7E%0AAUD*K6*%3C--AUD+is+NOT+part+of+the+850+spec+--%3E%7E%0APER*SR**EA*team%40stedi.com%7E%0APO1**1*2P*0.0001*PE*GE*EDI+Core%7E%0APO1**1*C0*0.05*PE*GE*Mappings%7E%0ACTT*2%7E%0ASE*9*000000001%7E)

`ST*850*000000001~ BEG*24*SP*PO-00001**20210901~ N1*2L*STEDI INC.~ AUD*K6*<--AUD is NOT part of the 850 spec -->~ PER*SR**EA*team@stedi.com~ PO1**1*2P*0.0001*PE*GE*EDI Core~ PO1**1*C0*0.05*PE*GE*Mappings~ CTT*2~ SE*9*000000001~`
