cancel
Showing results for 
Search instead for 
Did you mean: 

FCC error in Moni Unicode:0x0

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Experts,

I have a File to Proxy scenario.

Converting *.txt file to XML ,in moni i am getting the below error:

and in my Data type there are no mandatory fields,can some on help me what is the problem here?

If i put the same payload in test tab of message mapping its working fine.

If error is due to file content how do i fix it.

Br,

Manoj

PAYLOAD:

<?xml version="1.0" encoding="utf-8" ?>

<ReceiveSpeakerVendor>

<SpeakerVendor>

<Records>

<Methods>C</Methods>

<CompanyCode>CN06</CompanyCode>

<AccountGroup>ZCN1</AccountGroup>

<SAPVendorNumber />

<Name1>Jia Yizhen test11</Name1>

<SearchTermA>YIZHEN2</SearchTermA>

<PostalCode>201222</PostalCode>

<City>Shanghai</City>

<Country>CN</Country>

<Street>East Hospital of Shanghai test3</Street>

<Region>020</Region>

<SearchTermB>4211002665</SearchTermB>

<Language>ZH</Language>

<Email>test3@novartis.com</Email>

<Mobile>13012345638</Mobile>

<ContactName>Yangshuo TEST</ContactName>

<ContactTelephone>13112345678</ContactTelephone>

<ReconAccount>400000</ReconAccount>

<Sortkey>001</Sortkey>

<Authorization>ZCNP</Authorization>

<CashMngmntGroup>A1</CashMngmntGroup>

<PrevAcctNo>4211002665</PrevAcctNo>

<PaymentTerm>CN00</PaymentTerm>

<PaymentMethods>C</PaymentMethods>

<DoubleInvoiceValidation>X</DoubleInvoiceValidation>

<HouseBank>CTBSC</HouseBank>

<IndividualPayment>X</IndividualPayment>

<AcctgClerk>ED</AcctgClerk>

<BlockFlag />

</Records>

<Records>

<Methods>C</Methods>

<CompanyCode>CN09</CompanyCode>

<AccountGroup>ZCN1</AccountGroup>

<SAPVendorNumber />

<Name1>test111</Name1>

<SearchTermA>test</SearchTermA>

<PostalCode>201222</PostalCode>

<City>Shanghai</City>

<Country>CN</Country>

<Street>East Hospital of Shanghai test4</Street>

<Region>020</Region>

<SearchTermB>4211002666</SearchTermB>

<Language>ZH</Language>

<Email>test4@novartis.com</Email>

<Mobile>13012345638</Mobile>

<ContactName>Yangshuo TEST</ContactName>

<ContactTelephone>13112345678</ContactTelephone>

<ReconAccount>400000</ReconAccount>

<Sortkey>001</Sortkey>

<Authorization>ZCNP</Authorization>

<CashMngmntGroup>A1</CashMngmntGroup>

<PrevAcctNo>4211002666</PrevAcctNo>

<PaymentTerm>CN00</PaymentTerm>

<PaymentMethods>C</PaymentMethods>

<DoubleInvoiceValidation>X</DoubleInvoiceValidation>

<HouseBank>CTBSC</HouseBank>

<IndividualPayment>X</IndividualPayment>

<AcctgClerk>ED</AcctgClerk>

<BlockFlag />

</Records>

<Records>

<Methods>E</Methods>

<CompanyCode>CN09</CompanyCode>

<AccountGroup />

<SAPVendorNumber>22000006</SAPVendorNumber>

<Name1 />

<SearchTermA />

<PostalCode />

<City />

<Country />

<Street />

<Region />

<SearchTermB />

<Language />

<Email />

<Mobile />

<ContactName />

<ContactTelephone />

<ReconAccount>400000</ReconAccount>

<Sortkey>001</Sortkey>

<Authorization>ZCNP</Authorization>

<CashMngmntGroup>A1</CashMngmntGroup>

<PrevAcctNo>4211002666</PrevAcctNo>

<PaymentTerm>CN00</PaymentTerm>

<PaymentMethods>C</PaymentMethods>

<DoubleInvoiceValidation>X</DoubleInvoiceValidation>

<HouseBank>CTBSC</HouseBank>

<IndividualPayment>X</IndividualPayment>

<AcctgClerk>HP</AcctgClerk>

<BlockFlag />

</Records>

<Records>

<Records>

<Methods>U</Methods>

<CompanyCode>CN06</CompanyCode>

<AccountGroup />

<SAPVendorNumber>22000004</SAPVendorNumber>

<Name1>Jia Yizhen 333</Name1>

<SearchTermA>YIZHEN2</SearchTermA>

<PostalCode>201222</PostalCode>

<City>Shanghai</City>

<Country>CN</Country>

<Street>East Hospital 2 of Shanghai test</Street>

<Region>020</Region>

<SearchTermB>4211002665</SearchTermB>

<Language>ZH</Language>

<Email>test1@novartis.com</Email>

<Mobile>13012345555</Mobile>

<ContactName>Yangshuo TEST</ContactName>

<ContactTelephone>13112345678</ContactTelephone>

<ReconAccount>400000</ReconAccount>

<Sortkey>001</Sortkey>

<Authorization>ZCNP</Authorization>

<CashMngmntGroup>A1</CashMngmntGroup>

<PrevAcctNo>4211002665</PrevAcctNo>

<PaymentTerm>CN00</PaymentTerm>

<PaymentMethods>C</PaymentMethods>

<DoubleInvoiceValidation />

<HouseBank>CTBSC</HouseBank>

<IndividualPayment>X</IndividualPayment>

<AcctgClerk>ED</AcctgClerk>

<BlockFlag />

</Records>

</SpeakerVendor>

</ReceiveSpeakerVendor>

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

Hi Manoj,

as per the error there is Unicode char in your XML. Please check the XML (by view source) in notepad++.

refer the discussion more detail -

regards,

Harish

manoj_khavatkopp
Active Contributor
0 Kudos

HI,

I Couldn't find any Unicode char in XML that is y i posted payload.

I went through the link which u gave couldn't find any solution.

Still in dilemma where is the error

Harish
Active Contributor
0 Kudos

Hi Manoj,

I would suggest to check the input file (i assume it is flat file). There should be special char in flat file.

regards,

Harish

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Harish,

As you suggested i went through the text file but couldn't find any Unicode Char, but when i copy pasted the same content in hex editor i found 2 special char at the start of the file . How is that possible that unicode not visible in .txt file but its visible in hex editor.

TXT file :

No char at start of file i.e before 'Methods'

HEX editor :

You can see 2 special char at in the screenshot before 'METHODS'.

Br,

Manoj

nabendu_sen
Active Contributor
0 Kudos

Hi Manoj,

This happenes because your Text editor does not support all different types of Text Encodings.

You can check the below:

computer forensics - Text editor capable of viewing invisibles? - Stack Overflow

Regards,

Nabendu.

Answers (0)