Hello,
We have a simple Azure Data Factory pipeline that takes a CSV file as input and copies its contents to a Snowflake table. This setup had been working reliably for several months. However, starting last week, the Copy activity has begun failing.
The failure occurs when the Copy activity attempts to map the CSV columns to the Snowflake table. The error message (included below) indicates that one of the columns (Adjustment Note) cannot be found in the source file — even though the column still exists in the CSV.
If we remove the Adjustment Note column from the mapping, the pipeline still fails, this time not finding the next column in sequence. We’ve also tested the pipeline with older CSV files that previously loaded successfully, but the same error occurs.
I’ve attached a screenshot showing that the column does exist in the CSV file, as well as the full error message below.
Error details (Azure Data Factory):
ErrorCode=UserErrorInvalidColumnMappingColumnNotFound,
Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,
Message=Invalid column mapping provided to copy activity: '{...,"Adjustment Note":"ADJUSTMENT_NOTE", ...}',
Detailed message: Column 'Adjustment Note' defined in column mapping cannot be found in Source structure.
Check column mapping in table definition.
Source=Microsoft.DataTransfer.Common
It appears that the Copy activity is no longer recognizing the source schema correctly. Could this be related to a recent ADF update?
Please advise on possible causes or next troubleshooting steps. Let me know if any other details are needed.
Thank you!
