none
837P error - sometimes... RRS feed

  • Question

  • I get the following error at times when processing 837p files in an EDI application (biztalk 2010):

    5: X12_997_Root\AK2Loop\ The element 'AK2' has incomplete content. List of possible elements expected: 'AK201'.

    again, I have some files that work fine, and others that get suspended with the above error:

     

    any thoughts?


    Thanks for any and all help... Mike
    Tuesday, February 22, 2011 9:42 PM

Answers

  • A duplicate error would actually tell you that it was duplcate and not an invalid transaction. What the error seems like is happening is either you do not have the correct schema on the application or sometihng is missing on that file. What type of transaction is the one working? Is ti the same? What about the validation for the one not working? Did you check levels 1 and 2? Open the file that is failing with the application below and view it on the Edit mode. Then check and see if you get the same error. Let me know what you find.

    http://www.liaison.com/Products/B2BnbspandnbspEDInbspIntegration/EDInbspNotepad/tabid/249/Default.aspx


    Please Indicate "Mark as Answer" if this Post has Answered the Question
    • Marked as answer by Mike J Dugan Wednesday, February 23, 2011 3:54 PM
    Wednesday, February 23, 2011 2:23 PM

All replies

  • Did you open the suspended message? If so what did you find?
    Please Indicate "Mark as Answer" if this Post has Answered the Question
    Tuesday, February 22, 2011 9:52 PM
  • <form id="aspnetForm" action="edit" enctype="application/x-www-form-urlencoded" method="post">
    <input id="__VIEWSTATE" name="__VIEWSTATE" type="hidden" value="/wEPDwULLTEzNzk0MzkwMDlkZEMpty7R2lukRYyoGDAFiw9m2frw" />
    </form>
     
    <form action="/Forums/en-US/biztalkediandas2/thread/6ac05f91-207a-4e65-9a6d-af846d7ada01/c20b6ff2-e3bc-4d79-90bd-9541b2e12e52/edit" enctype="application/x-www-form-urlencoded" method="post">

    Edit Message

    <textarea cols="100" rows="20" name="body"><p>here is message content of bad 997 - notice the ak2loop and ak2 tags....&nbsp; Below this is a successful 997...</p> <p>&nbsp;</p> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span><span style="color:#0000ff">&lt;</span></span><span style="color:#990000"><span>ns0:X12_997_Root</span><span> IsGeneratedAck</span></span><span><span style="color:#0000ff">=&quot;</span></span><strong>true</strong><span><span style="color:#0000ff">&quot;</span></span><span><span style="color:#990000"> InterchangeActivityId</span></span><span><span style="color:#0000ff">=&quot;</span></span><strong>bcdde3fea21e45779e1eb53bdb17aa04</strong><span><span style="color:#0000ff">&quot;</span></span><span><span style="color:#ff0000"> xmlns:ns0</span></span><span><span style="color:#0000ff">=&quot;</span></span><strong><span style="color:#ff0000">http://schemas.microsoft.com/Edi/X12</span></strong><span style="color:#0000ff"><span>&quot;</span><span>&gt;</span></span></div> <div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">ns0:ST</span></span><span><span style="color:#0000ff">&gt;</span></span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">ST01</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>997</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">ST01</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">ST02</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>0176</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">ST02</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">ns0:ST</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK1</span></span><span><span style="color:#0000ff">&gt;</span></span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK101</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>HC</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK101</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK102</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>122449</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK102</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK1</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK2Loop</span></span><span><span style="color:#0000ff">&gt;</span></span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK2</span></span> <span><span style="color:#0000ff">/&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK5</span></span><span><span style="color:#0000ff">&gt;</span></span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK501</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>R</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK501</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK502</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>6</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK502</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK5</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK2Loop</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK9</span></span><span><span style="color:#0000ff">&gt;</span></span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK901</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>R</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK901</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK902</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>1</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK902</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK903</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>1</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK903</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">AK904</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>0</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK904</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">AK9</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">ns0:SE</span></span><span><span style="color:#0000ff">&gt;</span></span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">SE01</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>6</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">SE01</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;</span></span><span><span style="color:#990000">SE02</span></span><span><span style="color:#0000ff">&gt;</span></span><span><strong>0176</strong></span><span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">SE02</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">ns0:SE</span></span><span><span style="color:#0000ff">&gt;</span></span></div> </div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span><span style="color:#0000ff">&lt;/</span></span><span><span style="color:#990000">ns0:X12_997_Root</span></span><span><span style="color:#0000ff">&gt;</span></span></div> <div><span></span></div> <div><span></span></div> <div><span><span style="color:#0000ff">one that worked fine:</span></span></div> <div><span><span style="color:#0000ff"> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span>&lt;</span><span style="color:#990000"><span>ns0:X12_997_Root</span><span> IsGeneratedAck</span></span><span>=&quot;</span><strong>true</strong><span>&quot;</span><span><span style="color:#990000"> InterchangeActivityId</span></span><span>=&quot;</span><strong>46f6c657164b4299b679f87f80348591</strong><span>&quot;</span><span><span style="color:#ff0000"> xmlns:ns0</span></span><span>=&quot;</span><strong><span style="color:#ff0000">http://schemas.microsoft.com/Edi/X12</span></strong><span>&quot;</span><span>&gt;</span></div> <div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span>&lt;</span><span><span style="color:#990000">ns0:ST</span></span><span>&gt;</span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">ST01</span></span><span>&gt;</span><span><strong>997</strong></span><span>&lt;/</span><span><span style="color:#990000">ST01</span></span><span>&gt;</span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">ST02</span></span><span>&gt;</span><span><strong>0177</strong></span><span>&lt;/</span><span><span style="color:#990000">ST02</span></span><span>&gt;</span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;/</span><span><span style="color:#990000">ns0:ST</span></span><span>&gt;</span></div> </div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span>&lt;</span><span><span style="color:#990000">AK1</span></span><span>&gt;</span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">AK101</span></span><span>&gt;</span><span><strong>HC</strong></span><span>&lt;/</span><span><span style="color:#990000">AK101</span></span><span>&gt;</span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">AK102</span></span><span>&gt;</span><span><strong>12813</strong></span><span>&lt;/</span><span><span style="color:#990000">AK102</span></span><span>&gt;</span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;/</span><span><span style="color:#990000">AK1</span></span><span>&gt;</span></div> </div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span>&lt;</span><span><span style="color:#990000">AK9</span></span><span>&gt;</span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">AK901</span></span><span>&gt;</span><span><strong>A</strong></span><span>&lt;/</span><span><span style="color:#990000">AK901</span></span><span>&gt;</span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">AK902</span></span><span>&gt;</span><span><strong>1</strong></span><span>&lt;/</span><span><span style="color:#990000">AK902</span></span><span>&gt;</span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">AK903</span></span><span>&gt;</span><span><strong>1</strong></span><span>&lt;/</span><span><span style="color:#990000">AK903</span></span><span>&gt;</span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">AK904</span></span><span>&gt;</span><span><strong>1</strong></span><span>&lt;/</span><span><span style="color:#990000">AK904</span></span><span>&gt;</span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;/</span><span><span style="color:#990000">AK9</span></span><span>&gt;</span></div> </div> </div> <div> <div style="text-indent:-2em"><a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/#"><strong><span style="font-family:Courier New; color:#ff0000">-</span></strong></a> <span>&lt;</span><span><span style="color:#990000">ns0:SE</span></span><span>&gt;</span></div> <div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">SE01</span></span><span>&gt;</span><span><strong>4</strong></span><span>&lt;/</span><span><span style="color:#990000">SE01</span></span><span>&gt;</span></div> </div> <div> <div style="text-indent:-2em"><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;</span><span><span style="color:#990000">SE02</span></span><span>&gt;</span><span><strong>0177</strong></span><span>&lt;/</span><span><span style="color:#990000">SE02</span></span><span>&gt;</span></div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;/</span><span><span style="color:#990000">ns0:SE</span></span><span>&gt;</span></div> </div> </div> <div><span><strong><span style="font-family:Courier New; color:#ff0000">&nbsp;</span></strong></span> <span>&lt;/</span><span><span style="color:#990000">ns0:X12_997_Root</span></span><span>&gt;</span></div> </div> </div> </span></span></div> </div> </div> <hr> Thanks for any and all help... Mike</textarea>
    <label for="hasCode">Resource.HasCodeLabel</label><input name="hasCode" type="checkbox" value="true" /> <label for="reason">Reason</label><input name="reason" type="text" />
    <input title="Submit" type="submit" value="Submit" />
    </form>
    <script type="text/javascript"></script> <script type="text/javascript"></script> <script type="text/javascript"></script> <noscript></noscript> <noscript></noscript>
    Wednesday, February 23, 2011 1:06 PM
  • ??? Not sure what happned.
    Please Indicate "Mark as Answer" if this Post has Answered the Question
    Wednesday, February 23, 2011 1:20 PM
  • in looking at the AK502 error, it seems to indicate that i have:

    Missing or Invalid Transaction Set Identifier

     

    the ST part of my enveloper looks like this:

    ST*837*0001~

    I allow duplicates for transaction set control numbers right now, and one of the files I am successfully submitting has an ST02 of 2813

     


    Thanks for any and all help... Mike
    Wednesday, February 23, 2011 1:39 PM
  • A duplicate error would actually tell you that it was duplcate and not an invalid transaction. What the error seems like is happening is either you do not have the correct schema on the application or sometihng is missing on that file. What type of transaction is the one working? Is ti the same? What about the validation for the one not working? Did you check levels 1 and 2? Open the file that is failing with the application below and view it on the Edit mode. Then check and see if you get the same error. Let me know what you find.

    http://www.liaison.com/Products/B2BnbspandnbspEDInbspIntegration/EDInbspNotepad/tabid/249/Default.aspx


    Please Indicate "Mark as Answer" if this Post has Answered the Question
    • Marked as answer by Mike J Dugan Wednesday, February 23, 2011 3:54 PM
    Wednesday, February 23, 2011 2:23 PM
  • found it: customer was sending files with two slightly different GS8 values: one file had 004010X098 and the other had 004010X098A1

     

     


    Thanks for any and all help... Mike
    Wednesday, February 23, 2011 3:53 PM