Reputation: 3871
Below is the output snippet I get while I try to logon to Cfh I am following this doument
8=FIX.4.4|9=119|35=0|34=2|49=xxxxxxx|52=20200220-00:14:00.478|56=CfhDemoxxxxx|108=30|141=Y|553=xxxxxxx|554=xxxxxx|10=227|
8=FIX.4.4|9=138|35=3|34=2|49=CfhDemoxxxxx|52=20200220-00:14:00.564|56=xxxxxxx|45=2|58=Tag not defined for this message type|371=108|372=0|373=2|10=154|
8=FIX.4.4|9=113|35=1|34=3|49=CfhDemoxxxxx|52=20200220-00:14:06.564|56=xxxxxxxx|112=2439c450-1914-42ad-83c6-ad4b5ed17501|10=146|
8=FIX.4.4|9=160|35=0|34=3|49=xxxxxxx|52=20200220-00:14:06.740|56=CfhDemoxxxx|108=30|112=2439c450-1914-42ad-83c6-ad4b5ed17501|141=Y|553=xxxxxxxx|554=xxxxxxx|10=135|
8=FIX.4.4|9=138|35=3|34=4|49=CfhDemoxxxx|52=20200220-00:14:06.826|56=xxxxxxx|45=3|58=Tag not defined for this message type|371=108|372=0|373=2|10=164|
8=FIX.4.4|9=119|35=5|34=4|49=xxxxxxx|52=20200220-00:14:23.476|56=CfhDemoxxxxx|108=30|141=Y|553=xxxxxxx|554=xxxxxxB|10=237|
8=FIX.4.4|9=138|35=3|34=5|49=CfhDemoxxxxx|52=20200220-00:14:23.563|56=xxxxxxx|45=4|58=Tag not defined for this message type|371=108|372=5|373=2|10=168|
Upvotes: 0
Views: 770
Reputation: 3283
It took me a while to see it (so you can ignore my comment) but that was mainly due to bad formatting. Please paste your FIX messages with a visible separator between the fields, e.g. a pipe |
You are sending a Heartbeat
message (35=0
) with field 108/HeartBtInt
. This tag is only allowed on a Logon
message (35=A
).
This is also explained in the Reject
message (35=3
) that you get:
8=FIX.4.4|9=138|35=3|34=2|49=CfhDemoxxxxx|52=20200220-00:14:00.564|56=xxxxxxx|45=2|58=Tag not defined for this message type|371=108|372=0|373=2|10=154|
...
58 Text Tag not defined for this message type
371 RefTagID 108
372 RefMsgType 0
...
So 371/RefTagID
tells you that tag 108
is not defined for the 372/RefMsgType
of 0
.
Edit: in general it seems you are putting wrong tags on every message. You also put tags 141
, 553
and 554
on a HeartBeat
but these belong to a Logon
message also.
Upvotes: 2