API1031 The specified host variable is not valid.

Explanation

An invalid value was specified for the Value parameter of a setHostVariable() function.

User response

Specify a valid value for the Value parameter of any setHostVariable() function.