I’m encountering an issue while using the “Read Range” activity in UiPath. The error message I’m getting is:
Non-negative number required. Parameter name: lengths[0]
This error occurs when I’m trying to get pivot data from an Excel file. I’ve checked my data and everything seems fine, but I still can’t figure out what’s causing this error.
Earlier it is working fine, Suddenly gets this error in production machine, i have Updated all the packages with latest version, Still getting error
Please help me.
In Range you pass StrRange Please check the Range of that variable either in Log Message or Debug the process and watch the value of StrRange in “Immediate Panel”
It may be Workbook-ReadRange (3rd party library) limitation regarding recent excel feature.
So, can you try to use UseExcelFile and ReadRange (ReadRangeX) instead of ReadRange(Workbook)?