[Bug] Anthropic API Error: Image does not match the provided media type
Resolved 💬 6 comments Opened Nov 21, 2025 by rdk-nbcuni Closed Feb 9, 2026
Bug Description
I asked Claude to investigate some UI related problem. It then took a screenshot of the UI using a tool. In the terminal I could see Claude print a 400 HTTP error and did not respond with an answer after that. The same error kept on appearing when I tried to ask more questions and it seems to be stuck. The error was: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.12.image.source.base64.data: Image does not match the provided media type
image/jpeg"},"request_id":"req_011CVLUiLeDuuKjBZjXQXDe1"}
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.0.47
- Feedback ID: 2821c5eb-d4e0-453b-9cb4-6698a794dad1
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T17:32:30.584Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T17:32:40.124Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T17:32:57.861Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T17:33:13.714Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T18:03:14.160Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T18:33:14.368Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T19:03:14.210Z"},{"error":"Error: Failed to fetch version from stable: AxiosError: timeout of 30000ms exceeded\n at bv8 (/$bunfs/root/claude:2530:1624)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-20T20:01:29.518Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/206769920@bwt3.com/.local/share/claude/versions/2.0.47 (expected in multi-process scenarios)\n at k20 (/$bunfs/root/claude:2532:1514)\n at EGA (/$bunfs/root/claude:2530:12592)\n at async av8 (/$bunfs/root/claude:2530:13794)\n at async Ax (/$bunfs/root/claude:2532:235)\n at async <anonymous> (/$bunfs/root/claude:2532:12353)\n
Note: Error logs were truncated.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗