Error in Azure Data factory

Felipe Castaneda 1 Reputation point
2021-07-13T16:34:41.857+00:00

Failure happened on 'Sink' side. ErrorCode=DelimitedTextColumnNameNotAllowNull,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The name of column index 3 is empty. Make sure column name is properly specified in the header row.,Source=Microsoft.DataTransfer.Common,'

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

2 answers

Sort by: Most helpful
  1. Ryan Abbey 1,181 Reputation points
    2021-07-13T20:36:17.537+00:00

    Are you trying to do a copy with headers taken from your source file? Your source has not provided a heading for at least one column...

    0 comments No comments

  2. KranthiPakala-MSFT 46,492 Reputation points Microsoft Employee
    2021-07-14T21:48:09.423+00:00

    Hi @Felipe Castaneda ,

    Welcome to Microsoft Q&A forum and thanks for posting your query.

    As @Ryan Abbey pointed, looks like your source data is missing a column or having an empty column name.

    I assume that you are using a copy activity and doing auto mapping in it. If that is the case, then it is by design behavior that when there is an empty column name in copy activity source then it will throw this error.

    You can validate the schema structure by clicking on Copy activity source and doing a preview of the source dataset from copy activity level. This would give you hint to figure out where the empty column is and fix it accordingly.

    For more info, please refer to this stackoverflow thread where a similar issue was discussed: https://stackoverflow.com/questions/65871486/azure-adf-copy-activity-with-trailing-column-delimiter

    Hope this info helps. Do let us know if you have further query.

    ----------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.