not_found | The document (or other resource) doesn't exist or you can't read it. | Check opendocs list; slugs are scoped to the active workspace. A teammate's private document and another workspace's documents answer not_found too. |
version_conflict | Someone published a newer version since your copy. | Pull the live version, or re-run with --force to overwrite. |
version_not_found | That version number doesn't exist. | opendocs history <doc>. |
forbidden | You can't make this change. Any workspace member can edit a document; changing its visibility, moving, sharing, unpublishing or deleting it takes the author, an owner or an admin. Also returned when a workspace limits integrations to admins, or your role can't change a setting. | Ask the author or a workspace owner or admin. |
reserved_slug | The slug collides with an OpenDocs route (documents: tag, tags, project, projects; workspaces: docs, pricing and others). | Pick another slug. |
publish_failed / update_failed | The server couldn't save the document. On publish this includes a workspace you aren't in or a project that doesn't exist; on update, an unpublished document. | Check the workspace and project, then retry; if it persists, contact support. |
unpublish_failed | The document is already unpublished, or couldn't be unpublished. | Check opendocs list; retry if it's still live. |
visibility_change_failed | public without confirmation, or an unpublished document. | Pass confirmPublic: true (CLI: --confirm-public). An unpublished document's visibility can't change. |
invalid_visibility | visibility isn't private, workspace or public. | Use one of those three. |
tag_update_failed | The document would have more than 20 tags. | Remove some tags first. |
delete_failed | The delete couldn't complete. | Retry; if it persists, contact support. |
move_failed / restore_failed | The move or version restore couldn't complete. | Retry; check the project and version exist. |
share_failed / unshare_failed | Sharing couldn't be read or changed, usually because the document is unpublished. | Publish it first, then share. |
project_not_found | Unknown project. | opendocs project list. |
invalid_claim_token | The claim token doesn't match the anonymous document. | Use the claim URL from the original publish. |
expired | The anonymous document's 24 hours are up, or the invitation's 7 days. | Publish it again, or ask for the invitation to be resent. |
hidden | Readers reported the anonymous document, so it's hidden and can't be updated or claimed while it's reviewed. | Wait for the review, or publish the content again. |
no_accessible_posts | A workspace Markdown download found nothing you can read. | Sign in as a member, or ask for documents to be made public. |