Bot has started to error accessing outlook subfolders

  • 5 February 2024
  • 0 replies


We have a few bots that read various shared inbox subfolders. They have been happily working away until very recently where the DLL fails to “find” the folder.

[ERROR]:System.NullReferenceException: Object reference not set to an instance of an object.
   at OutlookWrapper.OutlookWrapper.SelectFolderByPath(String FolderPath)

These folders have remained unchanged and the issue seems erratic since it will sometimes work fine after a few attampts.

i have now gone through each bot and updated the packages, but this hasn’t resolved the issues. It seems that the dll just sometimes can’t see/read anything - it does always open outlook though.

Any ideas as to what may be the issue or what i can try next? I haven’t been able to pin any specific scenario down as it sometimes works without changing anything at all.


0 replies

Be the first to reply!