<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 10, 2014 at 6:10 PM, Manuel Lopez <span dir="ltr"><<a href="mailto:lopez.post@gmail.com" target="_blank">lopez.post@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><a href="tel:20140110-22" value="+12014011022" target="_blank">20140110-22</a>:28:07.376 : 8=FIX.4.4 9=133 35=j 34=171 49=us 52=20140110-22:28:07 56=cparty 142=fooloc 45=223 58=Conditionally Required Field Missing 372=8 380=5 10=028</div>
</div></blockquote><div><br></div><div>This question comes up a lot. The "Conditionally Required Field Missing" error means that:</div><div><br></div><div>1. you tried to do a Get on a field that was not present in the message</div>
<div>2. therefore a FieldNotFound exception was thrown</div><div>3. you did not catch the exception</div><div>4. therefore quickfix/n handled it for you by sending a reject (35=j)</div><div><br></div><div>So: wrap your code that gets conditionally required fields (like LastPx in Execution Reports) in a try-catch, and handle FieldNotFound.</div>
<div><div><div dir="ltr"><div><font face="arial, helvetica, sans-serif"><br class="">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny<br>Connamara Systems, LLC</font></div></div></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div> </div></div></div></div>