Dear community,
I experienced the above using the latest packages, but when I revert back to earlier versions of the packages, everything works fine. I hope this message will save you time when debugging the error, my way of saying thanks after receiving help over the years.
UiPath.IntelligentOCR.Activities v6.19.0
UiPath.DocumentUnderstanding.ML.Activities v1.28.1
UiPath.OmniPage.Activities v1.19.3