Skip to main content

Problem

This “ Attempt to call field 'setScriptTimeout' (a nil value)” indicates function setScriptTimeout is missing from your current version of IguanaX.

Causes

  1. You have an older version of IguanaX which does not have the latest IguanaX API functions/libraries

  2. You are on an older version of IguanaX and pull the latest iFW provided Components, Adapters, and/or Libraries

Solutions

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.

  1. Edit the component by making a copy, see Edit a Component.

  2. Replace all instances of component.setScriptTimeout with iguana.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.