Vote C2W3_Assignment - Exercise 12: Get parent artifacts

I am getting errors

after getting the parent Artifact id

Kindly Help !!

Hi! Please check your code carefully. You seem to be collecting Events from the metadata store instead of the required Artifacts. Events do not have an id property that’s why your getting that error. An Artifact type will have it. Hope this helps!