Could not complete the operation due to error 80020101
You execute one of your scripts and see an error message like this:
What does this error mean?
Your script has a structural defect that prevents any attempt to execute it. For example, put this code:
if (1 == 2)
{
into a script and fail to add the required closing }. The RAMP editor will warn you about the missing }, but ignore the warning and go ahead and execute the script anyway. This will cause a 80020101 error because the script has a missing }.
The missing } means the whole script does not make any sense at all.
Similarly, this code causes an error because of the double closing square brackets:
SETVALUE("utxtBankAccountID",objListManager.AKey3[0]])
Solution
Look for "unbalanced" things in your script such as:
- An ( without a closing/matching )
- An { without a closing/matching }
- An [ without a closing/matching ]
- A " or ' without a closing/match " or ' (an un-terminated string constant).
- An /* without a closing/matching */ (an un-terminated comment)
Other JavaScript constructs that are structurally incorrect.