"MongoDB Maintenance Operations Blocked - Critical Policy Issue"

Resolved 💬 3 comments Opened Sep 22, 2025 by pola2025 Closed Jan 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude Code is blocking all MongoDB database maintenance
operations with policy restrictions, making it impossible to
maintain production web applications. When attempting any MongoDB
user data management tasks (migrations, schema updates, backups),
Claude refuses to execute them citing policy violations, even
though these are standard, legitimate database operations required
for normal web development.

What Should Happen?

Claude Code should allow MongoDB operations for legitimate
development and maintenance purposes including:

  • Connecting to MongoDB Atlas clusters
  • Reading and updating user collections
  • Performing data migrations and schema updates

Error Messages/Logs

⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage 
    Policy (https://www.anthropic.com/legal/aup). Please double press esc to edit your last message or 
    start a new session for Claude Code to assist with a different task.

Steps to Reproduce

Bug Report: Next.js Development Server Webpack Cache and Module Loading Errors

Environment

  • Next.js Version: 14.1.0
  • Node.js Version: v20.x (check

⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage
Policy (https://www.anthropic.com/legal/aup). Please double press esc to edit your last message or
start a new session for Claude Code to assist with a different task

클로드 코드 버전?

● Claude Code 버전을 확인하겠습니
⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage
Policy (https://www.anthropic.com/legal/aup). Please double press esc to edit your last message or
start a new session for Claude Code to assist with a different task.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.0.120

Claude Code Version

1.0.120

Platform

Anthropic API

Operating System

Windows os

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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