Hi all.
We are scheduling saved search to send out report but we are having issues to include Account Activities error message in the reports columns. The report to be sent is expected to include a list of failed accounts after daily aggregation.
In POST /v3/search API, we include the “accountRequests.result.errors” and the error message can be returned in the API response.
However, in the POST /v3/saved-searches API, the report generated doesn’t include the error message as what I saw from the previous API response.
This is the request body:
{
"name": "Failed Account After Aggregation From All Target",
"description": "Failed Account Status After Aggregation in all target systems in the past 24 hours.",
"indices": [
"accountactivities"
],
"public":false,
"columns":{
"accountactivities": [
{
"field": "recipient",
"header": "User"
},
{
"field": "accountRequests.result.errors",
"header": "Error"
}
]
},
"query": "created:[now-1d TO now] AND status:incomplete AND (sources:\"AD-source\")"
}
Any help provided is very much appreciated!