#13916·outline

Document becomes unopenable after malformed editor content is saved; revision APIs also fail

Author: XqueensCreated Sep 29, 2026Updated Sep 29, 2026
Labelsbugeditormore information needed

@

Is there an existing issue for this?

  • I have searched the existing issues

This is not related to configuring Outline

  • The issue is not related to self-hosting config

Current Behavior

A document becomes unopenable after invalid editor content is saved. The document page shows “Something went wrong”; authenticated documents.info, revisions.list, and revisions.info requests all return HTTP 500. The history page also fails because it depends on loading the document.

This incident was triggered when an editor integration directly replaced part of the ProseMirror document model to change a table, constructed malformed table content, and saved it. The application accepted the write, but subsequent document reads and revision-list calls fail, preventing recovery through the normal UI/API history path.

Expected Behavior

  • Reject or sanitize invalid editor document structures before saving
  • Keep history listing and restoration available even when the current document content cannot be parsed or rendered
  • Return a diagnostic error identifying malformed document content instead of an opaque HTTP 500

Steps To Reproduce

  1. In an Outline document, replace a table by writing malformed ProseMirror table JSON through an editor integration
  2. Save the document
  3. Reopen the document or request documents.info
  4. Observe HTTP 500 and an unopenable page
  5. Request revisions.list / revisions.info for the document
  6. Observe HTTP 500, preventing revision recovery

Environment

  • Outline Cloud at https://eggy-outline.netease.com
  • Browser: Chrome
  • Document slug: data-agent-eba47O0b9k

Anything else?

The affected document UUID is eba6fd2d-413a-463f-a778-80119375e2dc. On 2026-09-29, authenticated requests with the document UUID returned HTTP 500 from documents.info, revisions.list, and revisions.info. The history page also returned the generic “Something went wrong” screen.

The report intentionally excludes API keys and document body contents. The content-editing approach that wrote malformed ProseMirror data was performed by an AI integration, not by manual editor input. @