skiptrailer not working?
Sent a support request, but maybe the community has experience with this issue.
Using the x12 validation endpoint, with the skiptrailer parameter, we are still getting an error for a GS trailer. I know the skiptrailer parameter is being recognized because without we get a more general trailer error for spec "ef".
{
"LastIndex": 5,
"Details": [
{
"Index": 1,
"TransactionIndex": 0,
"TransactionRef": null,
"SpecRef": "GS1",
"SegmentId": "GS",
"DataElementId": null,
"DataElementIndex": 0,
"CompositeIndex": 0,
"RepIndex": 0,
"Value": null,
"Message": "Functional group trailer missing ",
"Status": "error"
},
{
"Index": 0,
"TransactionIndex": 0,
"TransactionRef": null,
"SpecRef": "ISA0",
"SegmentId": "ISA",
"DataElementId": null,
"DataElementIndex": 0,
"CompositeIndex": 0,
"RepIndex": 0,
"Value": null,
"Message": "Invalid Control Structure (e.g., Invalid ISA or IEA segment)",
"Status": "error"
}
],
"Status": "error"
}
Comments
1 comment
The skipTrailer parameter allows you to omit the message trailer SE, so it is not validated when messages are created, and is automatically applied when messages are created. It does not apply to the envelope control segments, such as GE or IEA, which should be populated correctly in X12Interchange.
Please sign in to leave a comment.