Error : Add Data Row: Object reference not set to an instance of an object.",

Installer(.exe or .msi):

License type(Free, Trial/License code):

Studio/Robot version:

Current behavior:


I Want to Add data in My excel file by Append range But when i use Add Data row has error

1 Like

Welcome to uipath community
Kindly check with all the variables mentioned in the add data row has any value in it or not
Using a write line activity by passing those variables as string to the input field
—this error usually occurs when the variable in the. Activity where this error occur has no value in it
You were almost done
Kindly check that once

Hope this would help you
Cheers @supanee_seatang


Thank for answer kaa. I will check again.

1 Like

Cheers @supanee_seatang


Maybe you should Build Data Table and check value in array.
You can find the cause of the error and fix it by advice from Palaniyappan
I would like to add some sample for you
please see attached krub.
Main.xaml (14.0 KB)

Thank you ka [Natapong] I will download and see now ka.