The given key was not present in the dictionary. at Source: mscorlib ERROR

Applications failed to close normally. The given key was not present in the dictionary. at Source: mscorlib

@Soudios

Could you please check the name you used in config excel file is matching with the one you used in the process. It should be case sensitive and make sure there is no extra spaces.

where i can find it ?

1 Like

@Soudios

Are you using any Dictionary variable in your process ?

@Soudios

Run the workflow in debug mode and check where it is giving exactly that error. If possible show me screenshot of that error. So that I can check and help you.

@Soudios

Are you running Main.xaml file or any other file ?

GeneralBusiness

@Soudios

Assign below value to in_ConfigFile argument and then check it.

              "Data/Config.xlsx"

@Soudios

Could you please print below value using Message Box activity before IF activity.

              dt_WorkItems.Count

If it’s giving error that means you passed null value to it.