I am trying to load multiple files from azure blob to azure sql dw by using azure data factory.Below is my code.And I am facing the highlighted error.Could anyone suggest. I am pasting my adf code json here.
I am getting below Highlighted at copy activity stage.
{
"name": "DelimitedText11",
"properties": {
"linkedServiceName": {
"referenceName": "AzureBlobStorage2",
"type": "LinkedServiceReference"
},
"parameters": {
"FileName": {
"type": "string"
}
},
"annotations": [],
"type": "DelimitedText",
"typeProperties": {
"location": {
"type": "AzureBlobStorageLocation",
"fileName": {
"value": "@dataset().FileName",
"type": "Expression"
},
"container": "input"
},
"columnDelimiter": ",",
"escapeChar": "",
"firstRowAsHeader": true,
"quoteChar": ""
},
"schema": []
},
"type": "Microsoft.DataFactory/factories/datasets"
}
Error:
{
"errorCode": "2200",
"message": "ErrorCode=UserErrorMissingPropertyInPayload,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Required property 'fileName' is missing in payload.,Source=Microsoft.DataTransfer.ClientLibrary,'",
"failureType": "UserError",
"target": "Copy data1",
"details": []
}