Problem
This “ Attempt to call field 'setScriptTimeout' (a nil value)” indicates function setScriptTimeout is missing from your current version of IguanaX.
Causes
-
You have an older version of IguanaX which does not have the latest IguanaX API functions/libraries
-
You are on an older version of IguanaX and pull the latest iFW provided Components, Adapters, and/or Libraries
Solutions
Option 1 (Recommended) Upgrading to the latest IguanaX version will resolve this issue
The latest version of IguanaX supports the latest version of API calls.
See Upgrading Iguana for how to upgrade.
Option 2: Revert to Deprecated APIs
If you cannot upgrade to the latest IguanaX version for reasons such as regulation in Production, the need for more time to do QA testing, etc., then you will need to replace the setScriptTimeout function with the older version of the function listed here: Deprecated APIs.
-
Edit the component by making a copy, see Edit a Component.
-
Replace all instances of
component.setScriptTimeoutwithiguana.setTimeout. Commit changes and run your component from this commit, see Choosing the code to run for your component.
Considerations:
If you eventually upgrade your IguanaX version, you can re-import a new version of the iFW component to replace this one and manually add your configurations to the new one.
This solution assumes you are not making any changes to our core components. If you make any custom code edits not outlined in this doc, contact support for help.