[Bug] Anthropic API Error: Usage Policy violation on file search operations
Bug Description
У меня три проблемы с веб-приложением на https://budget-dev.ikeniborn.ru:
- При загрузке страницы /facts в консоли предупреждение о Tailwind CDN [Image #1]
- При открытии страниц отображаются иероглифы [Image #2]
- Кнопки на страницах неактивны, нет кнопки подтверждения
Помоги проанализировать и исправить эти проблемы.\
● Проанализирую проблемы с веб-приложением. Давайте начнем с изучения структуры и шаблонов.
● Search(pattern: "**/*.html", path: "~/Documents/Project/familyBudget")
⎿ Found 21 files (ctrl+o to expand)
● Search(pattern: "charset|encoding", glob: "*.html", output_mode: "content")
⎿ Found 22 lines (ctrl+o to expand)
● Search(pattern: "tailwind", glob: "*.html", output_mode: "content")
⎿ Found 6 lines (ctrl+o to expand)
● Read(web/templates/base.html)
⎿ Read 180 lines
● Read(web/templates/facts.html)
⎿ Read 668 lines
● Read(bot/webapp/add.html)
⎿ Read 50 lines
● Search(pattern: "Content-Type|charset", path: "backend", output_mode: "content")
⎿ Found 26 lines (ctrl+o to expand)
● Search(pattern: "**/nginx*.conf", path: "~/Documents/Project/familyBudget")
⎿ Found 1 file (ctrl+o to expand)
⎿ 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. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 2.0.27
- Feedback ID: 56b6c3a9-7655-4e67-9f2b-fcc2ea1c9412
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗