# Input-error code `'checkpoint-rejected'`

> 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`](../api/InputErrorCode.md) · stable · since 2.0.0

Page state over 256 KB of canonical JSON ([`CheckpointOption`](../api/CheckpointOption.md)).

## What to do

Keep [`CheckpointOption.checkpoint`](../api/CheckpointOption.checkpoint.md) under 256 KB of canonical JSON: store ids and choices, not models, images or prices, and keep the rest in your own store keyed by them.

```ts
await session.select(group, material, { checkpoint: { step: 'fabric', choice: material } });
```

## Where the declaration names it

- [`CheckpointOption.checkpoint`](../api/CheckpointOption.checkpoint.md): At most 256 KB of canonical JSON; more rejects HoloInputError('checkpoint-rejected').

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