Not all objects support named arguments. This error has the following cause and solution:

  • You tried to access an object whose methods don’t support named arguments.

    Specify arguments positionally when performing methods on this object. See the object’s documentation for more information on argument positions and types.