[Bug] Anthropic API Error: Image base64 data does not match media type with Figma MCP

Resolved 💬 5 comments Opened Nov 19, 2025 by andreigusan Closed Jan 19, 2026

Bug Description
can't use figma mcp API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.3.content.6.image.source.base64.data: Image does not match the provided media type
image/jpeg"},"request_id":"req_011CVHf8Q9dz4JzrDmP1CWrQ"}

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.46
  • Feedback ID: af1cbf97-939a-4906-aca2-e420a1fa9c18

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-process scenarios)\n    at a61 (/$bunfs/root/claude:2532:1516)\n    at PfL (/$bunfs/root/claude:2530:12595)\n    at async elM (/$bunfs/root/claude:2530:13801)\n    at async qk (/$bunfs/root/claude:2532:236)\n    at async <anonymous> (/$bunfs/root/claude:2532:12383)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T14:57:49.288Z"},{"error":"Error: Could not load the \"sharp\" module using the darwin-x64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n    npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n    See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n    npm install --os=darwin --cpu=x64 sharp\n- Consult the installation documentation:\n    See https://sharp.pixelplumbing.com/install\n    at <anonymous> (/$bunfs/root/claude:339:36699)\n    at <anonymous> (/$bunfs/root/claude:11:356)\n    at <anonymous> (/$bunfs/root/claude:340:88)\n    at <anonymous> (/$bunfs/root/claude:11:356)\n    at <anonymous> (/$bunfs/root/claude:340:79804)\n    at <anonymous> (/$bunfs/root/claude:11:356)\n    at <anonymous> (/$bunfs/root/claude:340:79980)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T14:57:55.201Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-process scenarios)\n    at a61 (/$bunfs/root/claude:2532:1516)\n    at PfL (/$bunfs/root/claude:2530:12595)\n    at async elM (/$bunfs/root/claude:2530:13801)\n    at async qk (/$bunfs/root/claude:2532:236)\n    at async <anonymous> (/$bunfs/root/claude:2532:12383)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T14:59:53.062Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-process scenarios)\n    at a61 (/$bunfs/root/claude:2532:1516)\n    at PfL (/$bunfs/root/claude:2530:12595)\n    at async elM (/$bunfs/root/claude:2530:13801)\n    at async qk (/$bunfs/root/claude:2532:236)\n    at async <anonymous> (/$bunfs/root/claude:2532:12383)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T15:09:15.455Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-process scenarios)\n    at a61 (/$bunfs/root/claude:2532:1516)\n    at PfL (/$bunfs/root/claude:2530:12595)\n    at async elM (/$bunfs/root/claude:2530:13801)\n    at async qk (/$bunfs/root/claude:2532:236)\n    at async <anonymous> (/$bunfs/root/claude:2532:12383)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T15:09:58.014Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-process scenarios)\n    at a61 (/$bunfs/root/claude:2532:1516)\n    at PfL (/$bunfs/root/claude:2530:12595)\n    at async elM (/$bunfs/root/claude:2530:13801)\n    at async qk (/$bunfs/root/claude:2532:236)\n    at async <anonymous> (/$bunfs/root/claude:2532:12383)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T15:10:24.863Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-process scenarios)\n    at a61 (/$bunfs/root/claude:2532:1516)\n    at PfL (/$bunfs/root/claude:2530:12595)\n    at async elM (unknown)\n    at async qk (unknown)\n    at unknown\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T15:10:35.526Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-process scenarios)\n    at a61 (/$bunfs/root/claude:2532:1516)\n    at PfL (/$bunfs/root/claude:2530:12595)\n    at async elM (/$bunfs/root/claude:2530:13801)\n    at async qk (/$bunfs/root/claude:2532:236)\n    at async <anonymous> (/$bunfs/root/claude:2532:12383)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-19T15:11:13.926Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/andrei/.local/share/claude/versions/2.0.46 (expected in multi-

Note: Error logs were truncated.

View original on GitHub ↗

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