Invalid Base64 Image Media Type in API Request MORE API NONSENSE NOT the same it's another day

Resolved 💬 4 comments Opened Aug 11, 2025 by fwends Closed Aug 15, 2025

Bug Description
⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.44.content.0.tool_result.content.0.image.source.base64.media_type: Input should be
'image/jpeg', 'image/png', 'image/gif' or 'image/webp'"}}
AGAIN ALL EVENING MY INTERNET I SFINE YOUR API IS DOWN THESE ARE NOT DUPES THE ONES FROM TWO WEEKS AGO NEVER GOT EVEN LOOKED AT SAME AS 4 WEEKS AGO THIS BREAKS MY WORK FLOW ALL THE TIME ALL DAY ALL DINIGH I FACE YOU AI GOING DOWN, CLAUDE GOING DOWN, POOR MODELS, BROKEN BROKEN BROKEN

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.72
  • Feedback ID:

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at Array.map (<anonymous>)\n    at LX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:903)\n    at SjB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2218:5231)\n    at $R (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:327:19859)\n    at yb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:42848)\n    at Sb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38369)\n    at Ij (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38297)\n    at gR (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38151)","timestamp":"2025-08-11T12:13:44.836Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: prisma\n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at Array.map (<anonymous>)\n    at LX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:903)\n    at pxB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2278:9387)\n    at $R (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:327:19859)\n    at yb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:42848)\n    at Sb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38369)\n    at Ij (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38297)\n    at gR (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38151)","timestamp":"2025-08-11T12:14:11.124Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: prisma\n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at Array.map (<anonymous>)\n    at LX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:903)\n    at pxB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2278:9387)\n    at $R (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:327:19859)\n    at yb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:42848)\n    at Sb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38369)\n    at Ij (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38297)\n    at gR (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38151)","timestamp":"2025-08-11T12:14:11.127Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: prisma\n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at Array.map (<anonymous>)\n    at LX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:903)\n    at pxB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2278:9387)\n    at $R (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:327:19859)\n    at yb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:42848)\n    at Sb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38369)\n    at Ij (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38297)\n    at gR (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38151)","timestamp":"2025-08-11T12:14:11.128Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: prisma\n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/g

Note: Error logs were truncated.

View original on GitHub ↗

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