API Support Forum
OEC API > FIX Support > Invalid tag number (Field=12004)
Author Topic: Invalid tag number (Field=12004)
(2 messages, Page 1 of 1)
Moderators: VPfau
MJAIN8418
Posts: 1
Joined: Jun 20, 2024


Posted: Aug 20, 2024 @ 06:19 AM             Msg. 1 of 2
Hello,

I'm trying to start a login request as the next logs, but it seems there is something wrong I can't find it, I'm getting an Invalid tag number (Field=12004) while I'm not sending this field in the login request, also BTW we are working on bridging solution so we are using GAIN Futures FIX not GAIN Future FAST.

this is the event log

20240819-10:18:53.474 : Created session
20240819-10:18:53.619 : Connecting to 192.111.85.171 on port 9300
20240819-10:18:53.783 : Connection succeeded
20240819-10:18:53.792 : Session reset: ResetOnLogon
20240819-10:18:53.799 : Session reset: ResetSeqNumFlag
20240819-10:18:53.812 : Initiated logon request
20240819-10:18:54.041 : Message 1 Rejected: Invalid tag number (Field=12004)
20240819-10:18:54.042 : Session FIX.4.4:MJAIN8418->OEC_TEST:TRADE disconnecting: QuickFix.QuickFIXException: Tried to send a reject while not logged on
at QuickFix.Session.GenerateReject(Message message, SessionRejectReason reason, Int32 field)
at QuickFix.Session.Next(MessageBuilder msgBuilder)
at QuickFix.SocketInitiatorThread.ProcessStream()
at QuickFix.SocketInitiatorThread.Read()


and this is the message log

20240819-10:18:53.812 : 8=FIX.4.4 9=134 35=A 34=1 49=MJAIN8418 52=20240819-10:18:53.796 56=OEC_TEST 98=0 108=30 141=Y 554=API37785 12003=9e61a8bc-0a31-4542-ad85-33ebab0e4e86 10=184
20240819-10:18:54.021 : 8=FIX.4.4 9=587 35=A 34=1 49=OEC_TEST 52=20240819-10:18:55 56=MJAIN8418 98=0 108=30 12004=817761AFDBD2C9ABC934C8EB7999945A92BEBBD55CCD8EADA61AA8E7608C4CBD2644DABF76CFAEB0FBCAA7C070B17ECCC66C8068593D75C92B6A53667B74D3C8C89B05ED12AA48DCADF055CE1356349450D5ED43B3747B31938E8E5061F9714F0503DD07AB225BF5ADCD7E01A37E66D13B71562C53CAB4A5E8E290F600825DD7945F0F3D4BDD6C7BA006F28F0B1647C8055800BD1CA195C591F09884C284D4B1D175B3A71A5C582807B2DD7AE1F3A9C98E8A81D7697FD5A7704BEFF33CB931473B43F723957F5FFC11ACF3DFDFA1B997B5032667D9485F317D5EE7F3432FC3F36628C04A258849258F490326E432C83D46EF98141E8F98B7FF54BAE475E5FC36 10=057


Thanks.
Ammar Saleh
ARK Team.
CMicciche902
Posts: 367
Joined:


Posted: Aug 20, 2024 @ 08:22 AM             Msg. 2 of 2
As provided in my last email, you need to handle tag 12004 in your custom application, whether you intend to use FAST server or not.

You can see a list of FIX fields here: https://futures-media.stonex.com/gfapi/html/6b617d6f-41e5-4df7-b776-f92fb258b190.htm
Chris M

Edited by CMicciche902 on Aug 20, 2024 03:10 PM