Skip to content
RSXDocs
RSX · API · Errors

Invalid state value

Status
422
Slug
invalid-state-value
Type URL
https://docs.rsx.group/errors/invalid-state-value
01

What happened

The state value is missing, or it exceeds the 32 KiB serialised limit. The limit is deliberate: RSX State stores documents a program needs in memory, not files.

02

What to do

Send value: null to store an explicit null. If the value is too large, store the bytes in RSX Files and keep a reference to them in State.

03

What you receive

The body is application/problem+json. detail varies with the request; everything else is what you see here.

json
{
  "type": "https://docs.rsx.group/errors/invalid-state-value",
  "title": "Invalid state value",
  "status": 422,
  "detail": "...",
  "instance": "/{project}/{version}/{group}/{action}",
  "requestId": "0198f2b1-..."
}