Skip to Content
author's profile photo Former Member
Former Member

Sender FCC error

Hi,

I get the below error in Communication channel monitoring and all the parameters have been checked and they seems to be OK. Channel was working properly earlier and nothing has been changed later.

Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'Line':java.lang.Exception: ERROR in configuration / structure 'Line.': More elements in file csv structure than field names specified!

Regards,

Chaitanya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Aug 17, 2011 at 11:06 AM

    Hi,

    Please check if the source file has the correct format.

    Check if the number of segments/columns are as expected. Also, check if the data in any column has the field seperator as a value..

    i.e. lets say your field seperator is ',' and one of the columns has ',' as a value, in which case the FCC will throw an error.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2011 at 10:58 AM

    You have more filed in the file in line no 2 then the no of field specied

    For Example

    Fieldname specified in Module config

    Field1,Field2

    But file may contain 3 three field in second line

    23,A roy,67

    so in this case it will fail.

    check the second line in the file and count the no of fields.

    Also check any field valuecontains the separotor (,) inside it? In some cases first name and last name we put by a comma separtor

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Debashish,

      Set the property for your recordset under Content Conversion tab as follows,

      Name:

      <recordset_name>.additionalLastFields

      Value:

      ignore

      For example: If you have recordset structure as,

      HEADER,1,LINE,*

      then the configuration will look like,

      LINE.additionalLastFields________________ignore

      - Netrey

  • Posted on Aug 17, 2011 at 01:56 PM

    Your second line might contains more fields and you might have not specified in fcc. Please check the number of fields between configuration and input source. Also make sure field separator does not conflict with the input data as previous replies mentioned.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2011 at 02:32 PM

    If no one has done any changes in CC then check your incoming source file. The problem seems to be there in the source file.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.