Skip to content

Align error-codes docs with service wording and remove empty sections#442

Open
rkistner wants to merge 1 commit intomainfrom
codex/update-error-code-documentation-and-clean-sections
Open

Align error-codes docs with service wording and remove empty sections#442
rkistner wants to merge 1 commit intomainfrom
codex/update-error-code-documentation-and-clean-sections

Conversation

@rkistner
Copy link
Copy Markdown
Contributor

@rkistner rkistner commented May 8, 2026

AI-generated PR using Codex cloud version, then manually reviewed

Updates error codes with the changes in powersync-ja/powersync-service#626, and remove empty error code sections.

Changes

  • Replaced legacy "Sync Rules" wording with "Sync Config" in the top-level PSYNC_Rxxxx section and in specific entries (PSYNC_R0001, PSYNC_S2302, PSYNC_S4104) and updated the link to point at /sync/overview.
  • Reworded the PSYNC_S1003 entry to reference a "replication stream" lock instead of "Sync rules" being locked.
  • Removed empty subsection headers (e.g., PSYNC_R11xx: YAML syntax issues, PSYNC_S12xx, PSYNC_S23xx: Postgres Storage, PSYNC_S3xxx, and other empty groups) so the page only shows sections that contain documented codes.

Follow-up

  • Noted a likely follow-up: the MongoDB storage subsection heading reads PSYNC_S23xx: Sync API errors - MongoDB Storage while the codes listed are PSYNC_S2401PSYNC_S2404, so the service-side source or templates may need to rename that heading to PSYNC_S24xx for consistency.

Codex Task

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 8, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
powersync 🟢 Ready View Preview May 8, 2026, 10:29 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant