MsgSeqNum too low expecting 11 but received 4
While working on FIX protocol to send and recieve message it’s very common to get exception and this is one which we get while trying to setup your environment.
quickfix.SessionException MsgSeqNum too low, expecting 11 but received 4
Solution: This exception happens if hou fix file format below is not mathcing with ther server files these file are:
and on Initiator side it should be somehting like below and file inside red box is not needed so delete them out:
Once you run your acceptor or server you will these extract will be generated by the API:
- This should fix the issue. (Probably after doing all these you may get same exception first time but second time onwareds it will work OK, this could be API level bug)
- For more informaiton please visit QuickFix site here