Getting the Error for a null value for drive item

Delete the Assign activity and directly pass that value in the If activity and check it