InvalidNodeTypeError

val DOMExceptionName.Companion.InvalidNodeTypeError: DOMExceptionName(source)

The node is incorrect or has an incorrect ancestor for this operation

MDN Reference