Paper Office
paper-pptxAPI referenceerrors

StaleAnchorError

paper-pptx 0.2.0 API reference

The block at an anchor's position no longer matches the anchor's content hash.

The document changed since the anchor was produced. Refusing beats guessing: use pptx.edit.refind() to recover a fresh anchor explicitly. (Subclass of TargetNotFoundError so existing handlers keep working.)