Skip to content

Clearer error for a stale or trashed page_id on update #17

Description

@willkg

When a markdown file's frontmatter page_id no longer exists in Confluence, update fails with a raw HTTP 404 (from GetPage, or from the v1 attachment API when the page is merely trashed — v2 still returns trashed pages while the v1 attachment endpoint 404s).

Detect the missing/trashed page up front in the update flow and emit a clear message, e.g. "page <id> from frontmatter no longer exists in Confluence; remove the page_id to recreate it with create, or fix the id" — instead of a bare 404. (From the old todo.md.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions