I am using Copy data activity to call an API which returns a string. I am using POST method with 'Request Body'. I am getting error code 2200 and here is the request body. Please see the screen print and let me know how to fix it.
{
"Variables": [
{
"VARName": "EmpCode",
"VARValue": "123"
}
]
}
Error I am getting
{
"errorCode": "2200",
"message": "Failure happened on 'Source' side. ErrorCode=JsonInvalidDataFormat,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error occurred when deserializing source JSON file ''. Check if the data is in valid JSON object format.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Newtonsoft.Json.JsonReaderException,Message=Unexpected character encountered while parsing value: <. Path '', line 0, position 0.,Source=Newtonsoft.Json,'",
"failureType": "UserError",
"target": "Copy data1",
"details": []
}