Input-error code 'unknown-field' ​

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 field the spec or schema of the page's declared contract doesn't have, or an applyPatch node field path whose field the stored node format doesn't have and the node doesn't carry; didYouMean names close fields.

What to do ​

Use the field the member's page declares; didYouMean is only a spelling guess. Names agents often guess wrong: material color → baseColor, opacity → alpha, metalness → metallic, roughnessFactor → roughness, emissiveIntensity → emissiveStrength; angles and times carry their unit (CameraLimits.minAzimuthDeg, maxAzimuthDeg, fovDeg, durationMs); a query's meshName → name; and a part write (PartState) takes only visible, pose, material, shadows, pickable and outline, so a recorded, priced change such as a node's enabled is a scene-model write, session.applyPatch.

ts
await session.find({ name: 'Seat' }).set({ material: { baseColor: '#ff0000', metallic: 0, roughness: 0.6 } });
await session.camera.limits({ minAzimuthDeg: -70, maxAzimuthDeg: 70 });
await session.applyPatch([{ op: 'replace', path: `/model/node/${shelfId}/enabled`, value: false }]);

Where the declaration names it ​

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