Error '58=Invalid MsgType <35>'

Created at 09 Feb 2023, 22:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SE

sergo500

Joined 09.02.2023

Error '58=Invalid MsgType <35>'
09 Feb 2023, 22:40


Hi folks, 
Can someone help me solve this problem
I get error '58=Invalid MsgType <35>' when trying to place a trade.
FIX message that I send is identical (except for credentials) to the example in cTrader FIX guide.
(In messages below <SOH> is replaced with newline)

So I successfully login, and receive message:

8=FIX.4.4
9=108
35=A
34=1
49=cServer
50=QUOTE
52=20230209-20:19:42.553
56=demo.icmarkets.8632275
57=QUOTE
98=0
108=30
141=Y
10=213

Then I send this to port '5202':

8=FIX.4.4
9=136
35=D
49=demo.icmarkets.8632275
56=cServer
34=2
52=20230209-20:18:56
50=any_string
57=TRADE
11=1
55=1
54=1
60=20230209-20:18:56
40=1
38=10000
10=141

And receive this:

8=FIX.4.4
9=132
35=3
34=2
49=cServer
50=QUOTE
52=20230209-20:19:45.269
56=demo.icmarkets.8632275
57=QUOTE
45=2
58=Invalid MsgType <35>
372=D
373=11
10=023

I have tried all kinds of combinations of values, but nothing works.
Any help is greatly appreciated!


@sergo500
Replies

sergo500
09 Feb 2023, 22:51

RE:

Oh, I just figured out what's wrong: I logged on into QUOTE server instead of TRADE one. Nevermind

 


@sergo500

ax274634
25 Oct 2023, 11:09 ( Updated at: 26 Oct 2023, 05:35 )

'58=Invalid MsgType <35>'

8=FIX.4.4|9=137|35=3|34=2|49=cServer|50=QUOTE|52=20231025-11:06:50.513|56=demo.icmarkets.8857131|57=Moha_Trade|45=2|58=Invalid MsgType <35>|372=D|373=11|10=079|


@ax274634