We are starting using the Manage Error Reporting feature in Matillion. We are sending a JSON with common Automatic Variables:
{
"Notification_Type": "Error",
"Run_History_ID": "${run_history_id}",
"component_id": "${component_id}",
"component_name": "${component_name}",
"component_message": "${component_message}",
"job_id": "${job_id}",
"job_name": "${job_name}",
"project_group_id": "${project_group_id}",
"project_group_name": "${project_group_name}",
"project_id": "${project_id}",
"project_name": "${project_name}",
"detailed_error": "${detailed_error}"
}
Matillion is escaping double quotes and New Lines in the variable "detailed_error" pretty well but it is not escaping one New Line character that seems to be inserted between each error message:
We are getting the Payload to Splunk. This one is saying that the JSON message is not correctly formatted (only when there are more than one component failing).
Are we doing something wrong? Is there any way to correct this?
Thank you in advance,