Custom Tool Script Error Messages

When working with custom tool scripts, you may encounter various error messages that can help identify and resolve issues during development or deployment. The following table provides common error messages along with their descriptions, so you can quickly understand what each message means and how it might affect your workflow.

Error Message

Description

Access denied.

The user's role does not have access to the File Cabinet folder where the tools are located. Verify that access to the File Cabinet folder is not restricted for the role. For more information, see Restricting Access to File Cabinet Folders.

Couldn't load modules in the custom tool script because it uses unsupported modules. Remove the unsupported modules from the script.

The custom tool script uses one or more of the following unsupported SuiteScript modules: N/http, N/https, or N/sftp.

Invalid call, the following required properties are missing: [parameter1, parameter2]")

Some required parameters are missing.

The script execution context creation failed due to the following issue: <error details>

A critical error occurred during preparation, so the tool couldn't run.

This tool is not allowed

The tool needs a permission that the current session doesn't have.

There was an unexpected error while executing the tool: <error details>

The tool runs but fails on a line or throws an exception.

Tool execution failed

The tool doesn't return a result properly.

Related Topics

General Notices