{{Quickfixn}} Tag appears more than once

Grant Birchmeier gbirchmeier at connamara.com
Thu Mar 5 12:26:31 PST 2020


For FIX50+, AppDataDictionary is definitely the one you want to use.
Regular DataDictionary will be ignored.

"Tag appears more than once" usually means a repeating group definition
problem.  Probably your counterparty has made some changes to the standard
DD with regards to that repeating group.  Your app, using a stale
definition, thinks the group is ending prematurely, because it found a tag
that it doesn't think belongs to the group.

Two things to do:
1) Get ahold of your counterparty's documentation, and edit your
FIX50SP2.xml file to match the changes that it's made in their dictionary.

2) If you're ever stumped, then consult your FIX50SP2.xml file and manually
parse the message that's being rejected.  You'll find the mismatch.

-Grant

On Thu, Mar 5, 2020 at 2:02 PM Veduruparthi Raju <rveduruparthi at gmail.com>
wrote:

> Ok.. i have changed the configuration file to NOT to use the
> DataDictionary key, instead to use the AppDataDictionary key and i still
> see the same "Tag appears to be more than once"
> The below is my updated config file
>
>   # default settings for sessions
>   [DEFAULT]
>   ConnectionType=initiator
>   ReconnectInterval=60
>   SenderCompID=XXXXX
>   SenderSubID=XXXXX
>   FileLogPath=c:\logs\
>   FileStorePath=c:logs\
>   #UseDataDictionary=Y
>   #ValidateFieldsOutOfOrder=N
>   HeartBtInt=30
>   SocketConnectPort=42425
>   SocketConnectHost=localhost
>   StartTime=00:00:00
>   EndTime=00:00:00
>   LogonTimeout=60
>
>   [SESSION]
>   BeginString=FIXT.1.1
>   TargetCompID=XXXXXX
>   UseDataDictionary=Y
>   ValidateFieldsOutOfOrder=N
>   TransportDataDictionary=C:\FIXT11.xml
>   AppDataDictionary.FIX5.0SP2=C:\FIX50SP2.xml
>   ResetOnDisconnect=Y
>   CheckLatency=N
>   DefaultApplVerID=9
>
> Thanks,
> --Raju.v
>
> On Thu, Mar 5, 2020 at 1:11 PM Veduruparthi Raju <rveduruparthi at gmail.com>
> wrote:
>
>> I am developing an application which uses FIX version 1.9 / FIXSP5.0SP2
>> and when i am receiving the trade messages, the messages get rejected with
>> the message saying "Tag appears more than once" for the tag 1 (Account) ,
>> the below is the log.
>>
>> 58=Tag appears more than once 371=1 372=AE 373=13 10=218
>>
>> So looks like is not recognizing the repeating groups.
>> I am using the DataDictionary,  TransportDataDictionary keys in the
>> setting file pointing to the schema files.
>> Also using   UseDataDictionary=Y and   ValidateFieldsOutOfOrder=N keys.
>> But still am getting the same error.
>>
>> I read in the documentation somewhere to use the AppDataDictionary key
>> when you use FIXT1.1, so when i used it pointing to the schema file then it
>> errors out with "Tag not defined"
>>
>> Any advise how to get rid of that error
>>
>> The below is my QuickFix settings file configuration.
>>   # default settings for sessions
>>   [DEFAULT]
>>   ConnectionType=initiator
>>   ReconnectInterval=60
>>   SenderCompID=XXXXXX
>>   SenderSubID=XXXXX
>>   FileLogPath=c:\logs\
>>   FileStorePath=c:\logs\
>>   UseDataDictionary=Y
>>   ValidateFieldsOutOfOrder=N
>>   HeartBtInt=30
>>   SocketConnectPort=42425
>>   SocketConnectHost=localhost
>>   StartTime=00:00:00
>>   EndTime=00:00:00
>>   LogonTimeout=60
>>
>>   [SESSION]
>>   BeginString=FIXT.1.1
>>   TargetCompID=TITANOTC
>>   DataDictionary=C:\FIX50SP2.xml
>>   TransportDataDictionary=C:\FIXT11.xml
>>   #AppDataDictionary=C:\FIX50SP2.xml
>>   ResetOnDisconnect=Y
>>   CheckLatency=N
>>   DefaultApplVerID=9
>>
>> Thanks,
>> --Raju.v
>>
>
>
> --
> Thanks,
> --Raju.v
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>


-- 
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com

-- 
This email, along with any attachments, is confidential. If you believe you 
received this message in error, please contact the sender immediately and 
delete all copies of the message. Thank you from Connamara Systems, LLC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20200305/78d902b9/attachment.htm>


More information about the Quickfixn mailing list