Skip to main content

SCRIPT.BAD_ARGUMENT

Error code SCRIPT.BAD_ARGUMENT, raised by packages. Area: SCRIPT.

What it means​

  • At most 64 arguments can be passed to a VBScript function
  • VBScript function arguments cannot contain line breaks

What to do​

  • Pass at most 64 arguments; put more in a file or a list the function reads.
  • Pass multi-line text through a file instead.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: SCRIPT BAD_ARGUMENT bad argument