Input-error code 'invalid-input' ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts, tables/problems.json and services/onsite-scripter/scripts/contract-docs-what-to-do.json by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

A member of InputErrorCode · stable · since 2.0.0

A value or combination the member refuses, e.g. a zero PoseInput.scale component.

What to do ​

Read the error's path, expected and received and change that value: the member's page lists what it accepts (common cases: a PoseInput.scale component of 0, CameraLimits whose min is above max, PlayOptions.loop that is not true or a whole number from 1, a relative SceneModelOptions.assetBaseUrl).

ts
await session.node(nodeId).set({ visible: false }); // hide with visible, never a 0 scale

Where the declaration names it ​

The set is open: handle a code you don't know ('other').