Missing Mandatory Field error when changing sequenec of tags, permissive_mode true, fix8 1.3.4

64 views
Skip to first unread message

gurmee...@utradesolutions.com

unread,
Aug 4, 2016, 10:40:30 AM8/4/16
to fix8 support
Hi,

I am getting an error (Missing Mandatory Field) when changing sequenec of tags.
permissive_mode is true and Fix8 Version 1.3.4.

Client is sending Cancel Order Request with all the known fields except 1 which is tag 9200.

Message 1
0000001 in 8=FIX.4.2^A9=244^A35=F^A49=777^A56=SERVER^A34=2^A52=20160804-13:46:57^A50=PLT^A115=CLIENTFIX^A116=PLT^A1=CLIENT1^A11=43467069^A38=1^A41=DHD0124^A48=USDINR16AUGFUT.BSE^A54=1^A55=USDINR^A59=0^A76=SERVER^A100=BSECDS^A167=FUT^A200=201608^A201=0^A202=0^A205=29^A60=20160804-13:46:57^A9200=1^A10=153^A
0000002 out 8=FIX.4.2^A9=143^A35=8^A49=SERVER^A56=777^A34=3^A52=20160804-13:46:55.520^A37=^A11=43467069^A17=1470318415-1000001^A150=8^A39=8^A55=USDINR^A54=1^A58=Scrip detail not found^A10=012^A

-> Order is not getting rejected and has been reached to trading system.

Message 2
0000002 in 8=FIX.4.2^A9=244^A35=F^A49=777^A56=SERVER^A34=3^A52=20160804-13:47:07^A50=PLT^A115=CLIENTFIX^A1=CLIENT1^A116=PLT^A11=43467070^A38=1^A41=DHD0124^A48=USDINR16AUGFUT.BSE^A54=1^A55=USDINR^A59=0^A76=SERVER^A100=BSECDS^A167=FUT^A200=201608^A201=0^A202=0^A205=29^A60=20160804-13:47:07^A9200=1^A10=138^A
0000003 out 8=FIX.4.2^A9=99^A35=3^A49=SERVER^A56=777^A34=4^A52=20160804-13:47:05.519^A45=3^A58=Missing Mandatory Field: ClOrdID (11)^A10=097^A

-> I have just changed sequence of tags. tag 1 placed before tag 116, order has been rejected at session level.

Message 4
0000004 in 8=FIX.4.2^A9=237^A35=F^A49=777^A56=SERVER^A34=5^A52=20160804-13:47:17^A50=PLT^A115=CLIENTFIX^A116=PLT^A1=CLIENT1^A11=43467071^A38=1^A41=DHD0124^A48=USDINR16AUGFUT.BSE^A54=1^A55=USDINR^A59=0^A76=SERVER^A100=BSECDS^A167=FUT^A200=201608^A201=0^A202=0^A205=29^A60=20160804-13:47:17^A10=087^A
0000004 out 8=FIX.4.2^A9=143^A35=8^A49=SERVER^A56=777^A34=5^A52=20160804-13:47:15.752^A37=^A11=43467071^A17=1470318435-1000002^A150=8^A39=8^A55=USDINR^A54=1^A58=Scrip detail not found^A10=014^A

-> Now, copied Message 1 removed tag 9200, message has been reached to trading system.

Message 4
0000005 in 8=FIX.4.2^A9=237^A35=F^A49=777^A56=SERVER^A34=6^A52=20160804-13:47:22^A50=PLT^A115=CLIENTFIX^A1=CLIENT1^A116=PLT^A11=43467072^A38=1^A41=DHD0124^A48=USDINR16AUGFUT.BSE^A54=1^A55=USDINR^A59=0^A76=SERVER^A100=BSECDS^A167=FUT^A200=201608^A201=0^A202=0^A205=29^A60=20160804-13:47:22^A10=081^A
0000005 out 8=FIX.4.2^A9=99^A35=3^A49=SERVER^A56=777^A34=6^A52=20160804-13:47:20.487^A45=6^A58=Missing Mandatory Field: ClOrdID (11)^A10=103^A

-> Again tried with message 3 but changed sequence that is tag 1 placed before tag 116, order has been rejected at session level.

I am surpriced why this error is coming, please help resolve this issue.

Attached herewith logs for refrence.

---
Thanks
Gurmeet
myfix_server_protocol.log.SERVER.777
myfix_server_session.log.SERVER.777
server.SERVER.777
FIX42_SERVER.xml

Mazz Barker

unread,
Aug 15, 2016, 12:22:36 AM8/15/16
to fix8 support, gurmee...@utradesolutions.com
Yes, there is an issue with this - usually means that a mandatory field is missing somewhere but not necessarily the field that is reported. Don't change field sequence - it usually doesn't matter for FIX.

Make sure all the fields you are receiving are defined in the schema for header, body and trailer.

/Mazz
Reply all
Reply to author
Forward
0 new messages