Skip to content

fix: correct DOCUMENT_ALREADY_EXISTS and DOCUMENT_REPLACE_DIFFERENT_DOCID error message wording - #2547

Open
adityaanikam wants to merge 2 commits into
stargate:mainfrom
adityaanikam:fix-error-message-typo-2528
Open

fix: correct DOCUMENT_ALREADY_EXISTS and DOCUMENT_REPLACE_DIFFERENT_DOCID error message wording#2547
adityaanikam wants to merge 2 commits into
stargate:mainfrom
adityaanikam:fix-error-message-typo-2528

Conversation

@adityaanikam

Copy link
Copy Markdown

What this PR does:
Corrects the DOCUMENT_ALREADY_EXISTS and DOCUMENT_REPLACE_DIFFERENT_DOCID error message titles in errors.yaml, both read "Document the given _id already exists", missing "with". Changed both to "Document with the given _id already exists". Confirmed the old string isn't referenced anywhere else in the codebase (searched the whole repo), so nothing else needed updating.

Which issue(s) this PR fixes:
Fixes #2528

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@adityaanikam
adityaanikam requested a review from a team as a code owner August 16, 2026 14:55
- scope: DOCUMENT
code: DOCUMENT_REPLACE_DIFFERENT_DOCID
title: Document the given _id already exists
title: Document with the given _id already exists

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to something like "Target and replacement documents have different _id" (leaving this title is a copy-paste oversight)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minor typo in error message (twice)

2 participants