Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: clarify SEP-2243 HeaderMismatch error code#2992

Open
DaleSeo wants to merge 1 commit into
modelcontextprotocol:mainfrom
DaleSeo:docs/clarify-sep-2243-header-mismatch-code
Open

docs: clarify SEP-2243 HeaderMismatch error code#2992
DaleSeo wants to merge 1 commit into
modelcontextprotocol:mainfrom
DaleSeo:docs/clarify-sep-2243-header-mismatch-code

Conversation

@DaleSeo

@DaleSeo DaleSeo commented Jun 30, 2026

Copy link
Copy Markdown
Member

Fixes #2991

Motivation and Context

SEP-2243 still documented HeaderMismatch as -32001, but the current draft specification and schema use -32020 after the error-code renumbering in #2907.

SEP-2243 Draft Spec
2026-06-30 at 09 32 28 2026-06-30 at 09 30 35

This updates the SEP text, examples, and conformance tables to use -32020, and adds a note explaining that SEP-2243 originally assigned HeaderMismatch to -32001 before the draft spec renumbered it.

How Has This Been Tested?

Documentation-only change.

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This came up during modelcontextprotocol/rust-sdk#907.

@DaleSeo DaleSeo requested review from a team as code owners June 30, 2026 13:19
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.

SEP-2243 still references pre-renumber HeaderMismatch error code -32001

1 participant