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
stopandrefreshneed arunningexperiment.updatewithcap_daysneedsrunning; withchanged_at,startingorrunningwithin 7 days of the current change date.deleteneedsstartingorrunning: a closed or stopped result is final.- Another request changed the experiment between your read and your write.
How to fix
- Call
get_experiment(orGET /experiments/{id}) and readstatusandchanged_atbefore 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..."
}
}