cancel
Showing results for 
Search instead for 
Did you mean: 

Need Explanation of Error For EDI Extended Validation(CallActivity_70)

rstokes
Explorer
0 Kudos
214

Uncertain what the error listed below means and how to resolve error. The IFLow is failing at the EDI Extended Validation(CallActivity_70). Also provided print screen of payload for CallActivity_70.

XML Validator Error Document Content

Validation failed for: /xsd/MIG_X12_850_4060_HomeDepot_RD.xsd
errors: [
org.xml.sax.SAXParseException: In content of element <M_850>: The content model does not allow element   Q{}IDOC> to appear as the first child. Expected <Q{}S_ST>. , Line : 1, Column : 62

rstokes_0-1722974028248.png

 

 

 

rstokes
Explorer
0 Kudos
I found the issue that was causing the problem. I was using the wrong Source RD.xsd file for my IFlow. Should have been using the Source RD.XSD file that is generated when you export your MAG. If you export the MIG and use the Source RD.XSD file created, this will cause the error due to how the file is created.
View Entire Topic
Ryan-Crosby
Active Contributor
0 Kudos

Looks like you have an unexpected <IDOC> node in your XML after <M_850>, which is invalid for the EDI schema of an 850.

 

Regards,

Ryan Crosby

rstokes
Explorer
0 Kudos
Hi Ryan, what process would create the <IDOC> node in the payload? <?xml version="1.0" encoding="UTF-8"?><M_850><IDOC BEGIN="1">
Ryan-Crosby
Active Contributor
0 Kudos
@rstokes you would need to review your setup because anything in the IA would not generate an IDOC tag... at least not that I'm aware of.