I am getting an error as below while using REST API POST method, Basic Authentication. Error: Input is malformed. Reason: Could not get entity details for DandB Test. If this entity is a linked service, please ensure it has been published before using in debug runs.
{
"name": "DandB Test",
"properties": {
"activities": [
{
"name": "Web1",
"type": "WebActivity",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Cache-Control": "no-cache"
},
"url": "https://plus.dnb.com/v3/token",
"body": {
"value": "@concat('grant_type=client_credentials&client_id=',pipeline().parameters.ClientID,'&client_secret=',pipeline().parameters.ClientSecret)",
"type": "Expression"
},
"authentication": {
"type": "Basic",
"username": {
"value": "{pipeline.parameters.client_id}",
"type": "Expression"
},
"password": {
"type": "SecureString",
"value": "**********"
}
}
}
}
],
}


