Forum Discussion
You can use the public API for getting an individual runtime document to get some more information. By passing the level=detail query parameter, the snap_map property will be included in the response and you can scan through that to get the error details for each snap.
https://elastic.snaplogic.com/api/1/rest/public/runtime/<organization>/<ruuid>?level=detail
Is that what you’re after?
- Sowmya_Rayavara7 years agoNew Contributor III
Thank you so much for your reply. I have used public API. I’m able to see lot of information using public API mentioned.But, I was not able to get the reason, resolution, Stacktrace of failed instance.
- Sowmya_Rayavara7 years agoNew Contributor III
Can anyone provide any other API by which we will able to read reason, resolution, Stacktrace of failed instance with the help of RUUID?
- ljupcho_machkov7 years agoNew Contributor
Hi Sowmya_Rayavarapu,
I think you can check for the failure reason and resolution into the “Message” property. There you can find something like this “{“message”: “Passing a JSON-Path to hasOwnProperty() is not supported and will fail in the future”, “defaultLevel”: “WARN”, “resolution”: “Please use hasPath() instead.””
If you want to use GUI, you can also use SnapLogic Dashboard, and to open there “Pipeline Execution Runtime Logs”, and to filter only Level - ErrorRegards, Ljupcho