Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi there,
We are doing an automation using DataIKU. For that I want to capture the error using python on the recipe which dataIKU throws . Please share us the python code or sample code which will work in my scenario.
Kind regards,
Dataiker.
Operating system used: windows
Hi @psvnm,
If you are running in scenario if so you could use the variable ${failedEventsSummary}.
If you want to get the error directly from the logs, you could use
https://doc.dataiku.com/dss/latest/python-api/jobs.html#reading-the-jobs-status
Then use get_log()
https://doc.dataiku.com/dss/latest/python-api/jobs.html?highlight=get_log#dataikuapi.dss.job.DSSJob....
Thanks