For each row - object reference not set to an instance of an object

Hello there,
can anyone help, please? I am doing an exercise for UiPath Advanced Level 3.
Mainly creating a dispatcher to read an excel file and upload the transaction queue.
Please note that I already created a new queue in the orchestrator with the same name.
Error message is : For each row: object reference not set to an instance of an object.

apparently you data table don’t get any value, in range propertie,set “” to get the entire sheet, and try again, and make sure you are reading the correct sheet
@Hadeel_Al-Dowsh

@fernando_zuluaga thank you for your reply; however, it’s still not working.

let me watch the properties in read range activity please

the error is inside the for each, so something is empty inside of a property of the items…

Hey, I guess I figured it out as I was missing something in the properties thanks for your note. but I got now this message:

now, let us watch the add queue item properties, maybe you are missing some thing as well

in QueueName propertie in_Config(herearethenameofyourqueuefromconfigfile).ToString

timeouts are what they mean… or you have some firewall blocking or a network very slow, try putting more time in add queue item timeout.

Sorry I don’t know what do you mean. I was told to write the name matching the queue name set in the orchestrator!

Tried that still didn’t worry, sorry!

so you must be having some firewall blocking and we cannot help :frowning: you are sure all is fine with your orchestrator? can you access it using a web browser?

Yes, all is fine. Not sure what’s going on, but I will keep trying :slight_smile:
thank you for your help anyways