Files
OpenWebUI-Discordbot/scripts/discordbot.py
Josh Knapp 4f7b48c03b
All checks were successful
OpenWebUI Discord Bot / Build-and-Push (push) Successful in 53s
Fix 406 error in MCP tool execution - add Accept header
The /mcp/call_tool endpoint was returning 406 "Not Acceptable" error
because the request didn't include an Accept header.

Fixed by adding "Accept": "application/json" to the request headers.

Error message was:
"Not Acceptable: Client must accept application/json"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 11:41:07 -08:00

21 KiB