EDI Experience – Common errors and solutions

  • Sandro Pereira
  • Mar 4, 2010
  • 3 min read

Working with EDI in BizTalk Server can be challenging. Because the EDI engine is strictly standards-compliant, the smallest configuration mismatch will cause a “Technical Validation Failed” error. Here is a compilation of the most common issues encountered in the field.

📝 One-Minute Brief

Troubleshooting BizTalk EDI often involves deciphering vague error codes related to agreement resolution, schema validation, and control numbers. This post compiles a list of common EDI errors—such as “Agreement Not Found” or “Invalid Character”—and provides step-by-step solutions for resolving them by checking Party configurations, Envelope settings, and Schema versions.

ERROR: Invalid value in data element

Data Element ID: FTX01
Position in Segment: 3
Position in Field: 2
Data Value: ZZZ
12: Invalid value in data element

Cause

  • Your Data elements FTX01 contain the invalid code, ZZZ. These elements have specific lists of allowable codes.

Solution

  • This code must be added to the list of the FTX01 element in the schema.

ERROR: Data element too long

Data Element ID: C08001
Position in Segment: 5
Position in Field: 1
Data Value: XXXXXXXXX X�X DE X�XXXX XX XXXXX
39: Data element too long

Cause

  • The value C08001 is too long for the defined length of the element.

Solution

  • Check the max length of the UNB9 element and correct your data. If you and your trading partner agree, both may increase the max length, in which case you would modify your schema.

ERROR: Invalid character(s) found in data element

Data Element ID: UNB11
Position in Segment: 11
Data Value: METCASH-AC3:ZZ
Or
Data Value:
37: Invalid character(s) found in data element

Cause

  • You have bad data in an UNB11 element.
  • You have an invalid character in an UNB11 element.

Solution

  • Often this error occurs when you put a space in a mandatory element to avoid failing for missing mandatory. If this is the situation and you have no valid data for the element, you may have to change the element to optional in the schema.
  • This could be either the ‘-‘ or the ‘:’, or both, depending on the character set you are using and on what separators you are using. If this is an outbound transaction, you can use a script to remove or replace the offending character

ERROR: Duplicate Control Number

Error: 1 (Miscellaneous error)
25: Duplicate Control Number
Error: 2 (Field level error)
SegmentID:
Position in TS: 1
Data Element ID:
Position in Segment: 13
Position in Field: 1
Data Value: <n>
25: Duplicate Control Number

Cause

  • This problem occurs because the interchange control numbers in the ISA13 segment of the suspended EDI messages are still recorded in BizTalk Server. This causes a duplicate detection check to be performed.

Solution

  • Check the following hotfix http://support.microsoft.com/kb/976554/EN-US (link obsolete).

Most EDI errors boil down to Party configuration or Agreement resolution. By systematically checking your identities and envelope settings, you can resolve the majority of “Technical Validation” failures.

Thanks for Buying me a coffe

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top