[BUG] API Error: 403 You don't have access to the model with the specified model ID. when operating with local files

Resolved 💬 4 comments Opened Mar 16, 2025 by gaiar Closed Mar 17, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [x] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.45 (Claude Code)
  • Operating System: macOS 15.1.1
  • Terminal: Warp

Bug Description

When Claude tries to operate with local files I see error API Error: 403 You don't have access to the model with the specified model ID.

Steps to Reproduce

  1. Ask Claude to create local folder
  2. it will try and below the output line it will say API Error: 403 You don't have access to the model with the specified model ID.
  3. but overall it manages to create files

Expected Behavior

No error is shown and whatever action this error prevents is executed successfully

Additional Context

CLAUDE_CODE_USE_BEDROCK=1
ANTHROPIC_MODEL=anthropic.claude-3-5-sonnet-20240620-v1:0
DISABLE_PROMPT_CACHING=1
AWS_REGION=us-west-2

<img width="780" alt="Image" src="https://github.com/user-attachments/assets/219d5501-6309-45b0-b4b7-3eaaac3bb45e" />

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗