ErrorCode=DelimitedTextMoreColumnsThanDefined

Abhishek 16 Reputation points
2021-10-27T07:14:27.097+00:00

There is a column at the end and that is coming empty from the SFTP. But there is an extra comma in the SFTP CSV which is causing this issue.
Can we somehow trim the extra comma(delimiter) which is causing failure in the mapping?
Adding this for your reference to understand my issue.

https://answers.microsoft.com/en-us/msoffice/forum/all/csv-file-has-extra-commas/bc07501b-3a16-4027-be31-da9f37734b5c

The complete error message is as follows:

ErrorCode=DelimitedTextMoreColumnsThanDefined,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error found when processing 'Csv/Tsv Format Text' source 'rma_20211022122932_000001.csv' with row number 2: found more columns than expected column count 9.,Source=Microsoft.DataTransfer.Common

Thanks and Regards,
Abhishek

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,643 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Samy Abdul 3,366 Reputation points
    2021-10-27T08:47:48.087+00:00

    Hi @Abhishek Please go through below post. The issue looks similar:

    Error code: DelimitedTextMoreColumnsThanDefined Azure Data Factory:

    https://stackoverflow.com/questions/65040758/error-code-delimitedtextmorecolumnsthandefined-azure-data-factory Thanks


  2. Samy Abdul 3,366 Reputation points
    2021-10-27T09:15:17.147+00:00

    Hi @Abhishek , Below are the possible causes for this particular error as per documentation, however , if the

    column is empty from source side, couldn't you get rid of it in mapping setting?

    144059-image.png


  3. Samy Abdul 3,366 Reputation points
    2021-10-27T15:31:02.947+00:00
    0 comments No comments