{
  "topic": "errors.MODEL_NOT_LOCKED",
  "path": [
    "errors",
    "MODEL_NOT_LOCKED"
  ],
  "title": "MODEL_NOT_LOCKED — model must be locked before writing entities",
  "synopsis": "Entity creation and bulk write operations require the model to be in the `LOCKED` lifecycle state. Models in `DRAFT` or unlocked-for-editing state reject writes to prevent schema changes from affecting in-flight data.",
  "body": "# errors.MODEL_NOT_LOCKED\n\n## NAME\n\nMODEL_NOT_LOCKED — the entity model exists but is not in a locked state, which is required before entities of that type can be created or updated.\n\n## SYNOPSIS\n\nHTTP: `409` `Conflict`. Retryable: `no`.\n\n## DESCRIPTION\n\nEntity creation and bulk write operations require the model to be in the `LOCKED` lifecycle state. Models in `DRAFT` or unlocked-for-editing state reject writes to prevent schema changes from affecting in-flight data.\n\nNot retryable. Entity writes require the model to be in `LOCKED` state.\n\n## SEE ALSO\n\n- errors\n- errors.MODEL_NOT_FOUND\n- errors.CONFLICT\n",
  "sections": [
    {
      "name": "NAME",
      "body": "MODEL_NOT_LOCKED — the entity model exists but is not in a locked state, which is required before entities of that type can be created or updated."
    },
    {
      "name": "SYNOPSIS",
      "body": "HTTP: `409` `Conflict`. Retryable: `no`."
    },
    {
      "name": "DESCRIPTION",
      "body": "Entity creation and bulk write operations require the model to be in the `LOCKED` lifecycle state. Models in `DRAFT` or unlocked-for-editing state reject writes to prevent schema changes from affecting in-flight data.\n\nNot retryable. Entity writes require the model to be in `LOCKED` state."
    },
    {
      "name": "SEE ALSO",
      "body": "- errors\n- errors.MODEL_NOT_FOUND\n- errors.CONFLICT"
    }
  ],
  "see_also": [
    "errors",
    "errors.MODEL_NOT_FOUND",
    "errors.CONFLICT"
  ],
  "stability": "stable",
  "actions": []
}
