ErrorCode=UserErrorInvalidColumnMappingColumnNotFound
I have a staging table and target table with exactly the same schemas, only different data types e.g. nvarchar(max) / nvarchar(50).
I'm attempting to insert the data from the staging to the target using a Copy Activity.
I have removed parameterised aspects of the pipeline and hardcoded the table names and explicitly imported schema mapping.:
The error I get is:
Failure happened on 'Sink' side. ErrorCode=UserErrorInvalidColumnMappingColumnNotFound,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Column name 'FECode' cannot be found in either source data or column mapping.,Source=Microsoft.DataTransfer.DataContracts,'
Clearly, it is in both the source and sink destinations. Please could someone advise?