Advanced Training: Assignment 1 Value cannot be null Error

Running into an error for Assignment 1:

If a new Item is fetched Grab it’s significant data for logging: Value cannot be null.
Parameter name: source
Error getting transaction data for Transaction Number: 0. Value cannot be null.
Parameter name: source at Source: If a new Item is fetched Grab it’s significant data for logging

@abbuenaobra

Welcome to the uipath community.

It seems like dt_workitems argument has null value and because of that you are getting this error.

Print the below value before IF condition and check once.

        dt_workitems.Count

If it gives any error then check arguments once and also check whether it scraped data properly or not.