I am getting an error that states : "Check if connector argument was provided: Object reference not set to an instance of an object."

Hey all, I am currently working through exercise, as part of earning my Associate Developer certification. I am learning and looking through Integrating with Google Drive and Office 365. Whilst working through this, I found an error on my Main project file. This states: “Check if connector argument was provided: Object reference not set to an instance of an object”. A screenshot of this is shown below:

Any ideas on what I can do to fix this?

Hi @sukh.johal

UiPathEventConnector doesn’t have any value that’s why it was throwing the Object reference not set to an instance of an Object error.

Check the value of the UiPathEventConnector value in the Local Panel in your screenshot it is null that’s why it was throwing, assign the value to it first, I have marked in your picture for your understanding,

Hope it helps!!

Unfortunately that did not help. I am getting a new error

You are importing the argument from other xaml to here right. Try to delete the argument and try to import again in the invoke workflow file activity.

Change the condition in the If condition to below,

Not(String.isnullorempty(UiPathEventConnector) andalso String.isnullorwhitespace(UiPathEventConnector))

Hope you understand!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.