Object reference not set to an instance while iterating XML

Hi, I am trying to iterate an xml like below:

But it keeps giving me object reference not set to an instance of an object at for each.

i would actually like to loop through the xml and see how i can create a datatable from it. Would like to ask for some suggestions to do so as well.

1 Like

Buddy @inyourgravity
kindly check whether the object that is the variable used in the activity where the exception occurred, has any null value or doesn’t have any value, kindly check with that activity and variable buddy @inyourgravity