PDF Upload Exceeds 100 Page Limit

Resolved 💬 3 comments Opened Aug 13, 2025 by Digidab Closed Aug 17, 2025

Bug Description
API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"A maximum
of 100 PDF pages may be provided."}}

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.77
  • Feedback ID: 6e879760-e953-467c-ab02-cf19aad30bb6

Errors

[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"}}\n    at Z6.generate (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:936:2513)\n    at QS.makeStatusError (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:953:2101)\n    at QS.makeRequest (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:953:5315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async WPB.hG1.showErrors (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:24691)\n    at async hG1 (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:13705)\n    at async WPB (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:24542)\n    at async file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:19524\n    at async VN0 (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:5164)\n    at async t11 (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:19494)","timestamp":"2025-08-13T19:19:56.139Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at MX (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1685:1184)\n    at file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1685:912\n    at Array.map (<anonymous>)\n    at YW (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1685:903)\n    at pjB (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2307:5231)\n    at xR (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:330:19859)\n    at pb (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:42835)\n    at cb (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38356)\n    at Lj (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38284)\n    at eR (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38138)","timestamp":"2025-08-13T20:22:30.300Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"A maximum of 100 PDF pages may be provided.\"}}\n    at Z6.generate (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:936:2303)\n    at QS.makeStatusError (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:953:2101)\n    at QS.makeRequest (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:953:5315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async WPB.hG1.showErrors (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:24691)\n    at async hG1 (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:13705)\n    at async WPB (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:24542)\n    at async file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:19524\n    at async VN0 (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:5164)\n    at async t11 (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:19494)","timestamp":"2025-08-13T20:27:30.520Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"A maximum of 100 PDF pages may be provided.\"}}\n    at Z6.generate (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:936:2303)\n    at QS.makeStatusError (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:953:2101)\n    at QS.makeRequest (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:953:5315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async WPB.hG1.showErrors (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:24691)\n    at async hG1 (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:13705)\n    at async WPB (file:///home/debi/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1809:24542)\n    at async file:/

Note: Error logs were truncated.

View original on GitHub ↗

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