FullVision
Errors

experiment_invalid_state

409 — The experiment's status does not allow this action

What happened

The experiment exists, but its current status does not allow the action you asked for.

Why it usually happens

  • stop and refresh need a running experiment.
  • update with cap_days needs running; with changed_at, starting or running within 7 days of the current change date.
  • delete needs starting or running: a closed or stopped result is final.
  • Another request changed the experiment between your read and your write.

How to fix

  • Call get_experiment (or GET /experiments/{id}) and read status and changed_at before retrying.
  • Do not retry an action on an ended experiment: its result is final.

Envelope

{
  "error": {
    "code": "experiment_invalid_state",
    "message": "Experiment '0b9d3c1e-5f7a-4b8e-9c2d-1a2b3c4d5e6f' cannot do this: it is closed, not running.",
    "param": "id",
    "doc_url": "https://docs.fullvision.io/errors/experiment_invalid_state",
    "trace_id": "tr_01HXYZ..."
  }
}

On this page