EDI document is failing with error, how to resolve?

Royce 61 Reputation points
2022-05-12T18:45:49.493+00:00

Hi, I am getting below error when sending EDI document. how to resolve the second error without manual work?

Error: 5 (Field level error)
SegmentID: NTE
Position in TS: 42
Data Element ID: NTE01
Position in Segment: 1
Data Value: SHP
7: Invalid code value

Error: 6 (Field level error)
SegmentID: NTE
Position in TS: 42
Data Element ID: NTE02
Position in Segment: 2
Data Value:
6: Leading or trailing space found

Thanks in advance.

BizTalk Server
BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
390 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kamlesh Kumar 3,866 Reputation points
    2022-05-12T19:01:06.943+00:00

    Hi There,

    Thank you for asking this question on the Microsoft Q&A Platform.

    First error seems a data issue, you are passing value 'SHP' for NTE01, but i think it's expecting something else. Check the expected value.

    For second error, seems you are getting leading or trailing space or zeroes in NTE02 which is causing this validation error. You can resolve it by adding the configuration in agreement.

    Open Agreement => Go to Validation => Check the 'Allow leading and trailing zeroes and spaces' if it's unchecked.

    201540-image.png

    Hopefully it'll resolve your issue. Take an action based on your environment.

    Regards,
    Kamlesh Kumar
    BizTalk Techie

    If this answer solved your problem, please click the Verify Answer button (found below the answer) to help other users who have the same question.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.