Claude Code Citation Format Validation Error in AWS Bedrock Integration

Resolved 💬 1 comment Opened Feb 26, 2025 by devjerry0 Closed Feb 26, 2025

Bug Description
Claude Code + AWS Bedrock Integration Error - Citation Format Issue
I'm experiencing a persistent error when using Claude Code with AWS Bedrock that's blocking my workflow.
After Claude Code ingests code repositories, I consistently receive this error:

⎿ Error: API Error: messages.27.content.0.text.citations: Extra inputs are not permitted

  ⎿  API Error: messages.39.content.0.text.citations: Extra inputs are not permitted

  ⎿  API Error: messages.13.content.0.text.citations: Extra inputs are not permitted

Steps to Reproduce:

Start Claude Code session with AWS Bedrock as backend
Ingest code repository/files (specifically django ninja with some mypy bash output)
After ingestion completes, attempt to interact with Claude Code
Error occurs in message # 27 of the conversation

Environment Info

  • Claude Code: latest
  • AWS Bedrock region: us-east-1
  • Operating system: MacOs 15.2 (24C101)
  • Terminal: ghostty 1.1.2
  • Version: 0.2.14
  • Feedback ID: c4e13dfc-cf9d-45b2-bf84-e4b887f475fe

similiar issue: #94

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗