[Bug] Anthropic API Error: Exceeds maximum image/document limit (104 images + 1 document > 100)
Resolved 💬 3 comments Opened Feb 5, 2026 by Danhelo Closed Feb 9, 2026
Bug Description
Getting API error 400 too many images and documents 104 + 1 > 100 after going through some PDF files and images.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.31
- Feedback ID: 6abc8189-dbaa-48a0-8672-194e11634113
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/danhelo/.local/share/claude/versions/2.1.31 (expected in multi-process scenarios)\n at iYR (/$bunfs/root/claude:3621:2098)\n at cbA (/$bunfs/root/claude:3621:1209)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T17:15:27.744Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"too many images and documents: 104 + 1 > 100\"},\"request_id\":\"req_011CXqJXwaFpHuYrnwkakp1F\"}\n at generate (/$bunfs/root/claude:344:8698)\n at makeRequest (/$bunfs/root/claude:361:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T17:18:11.442Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"too many images and documents: 104 + 1 > 100\"},\"request_id\":\"req_011CXqJZwZKdk1wfBRrjG1c3\"}\n at generate (/$bunfs/root/claude:344:8698)\n at makeRequest (/$bunfs/root/claude:361:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T17:18:38.379Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"too many images and documents: 104 + 1 > 100\"},\"request_id\":\"req_011CXqJbAhdGKZTCJtQ3odEU\"}\n at generate (/$bunfs/root/claude:344:8698)\n at makeRequest (/$bunfs/root/claude:361:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T17:18:55.060Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗