Assign : Input String was Not in a Correct Format


I have this error occured after my robot is running for 4 months :


What’s the cause of this? I can’t find any solution

Hi @Rhys18 Please check your input string using the debugging mode before assigning. Your Current row item value will not be of type integer thats why the error is thrown. Converting a string value to integer will throw error.


This failure happens because CurrentRow.item(1).ToString is not a string representing a number that can be converted to an integer. I suggest logging this value to check this. The fix should be to populate the table from where you got the CurrentRow.

Yes I just rechecking on the file and there’s a null value… That’s the cause of the error. Thanks for responding !

1 Like

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