I am working on copy activity in ADF having sink as Azure SQL DB and upsert as an option.
It's failing with below error:
Failure happened on 'Sink' side. 'Type=System.NullReferenceException,Message=Object reference not set to an instance of an object.,Source=Microsoft.DataTransfer.Connectors.MSSQL,'
I have checked and the column exists at the source and sink. There are no null values at the source or sink.
"sink": { "type": "AzureSqlSink", "writeBehavior": "upsert", "upsertSettings": { "useTempDB": true, "keys": [ "Id" ] }, "sqlWriterUseTableLock": false, "disableMetricsCollection": false }, "enableStaging": false, "translator": { "type": "TabularTranslator", "typeConversion": true, "typeConversionSettings": { "allowDataTruncation": true, "treatBooleanAsNumber": false } } }
executionDetails": [ { "source": { "type": "Salesforce" }, "sink": { "type": "AzureSqlDatabase" }, "status": "Failed", "start": "8/6/2024, 12:17:35 PM", "duration": 15, "usedParallelCopies": 1, "profile": { "queue": { "status": "Completed", "duration": 4 }, "transfer": { "status": "Completed", "duration": 9, "details": { "readingFromSource": { "type": "Salesforce", "workingDuration": 0, "timeToFirstByte": 3 }, "writingToInterim": { "type": "AzureSqlDatabase", "workingDuration": 0 }, "writingToSink": { "type": "AzureSqlDatabase", "workingDuration": 0 } } } },
