[Bug] /export Command Fails to Export User Messages
Resolved 💬 3 comments Opened Aug 30, 2025 by shanusmagnus Closed Sep 2, 2025
Bug Description
The /export command doesn't export the user-generated messages, so you lose the context of what the user said to elicit Claude's response.
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.98
- Feedback ID: 06d3e5a8-2292-4393-89b9-42e60c902525
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.35.content.0: When thinking is disabled, an `assistant` message in the final position cannot contain `thinking`. To use thinking blocks, enable `thinking` in your request.\"},\"request_id\":\"req_011CScrbg4YKpm8Rav217NxB\"}\n at F4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2412)\n at CP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n at CP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async vP (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1748:344)\n at async FV5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2445:8414)\n at async Promise.all (index 5)\n at async YSB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2445:8780)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2445:11156)\n at async AL5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3189:1018)","timestamp":"2025-08-29T23:18:38.446Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.73.content.0: When thinking is disabled, an `assistant` message in the final position cannot contain `thinking`. To use thinking blocks, enable `thinking` in your request.\"},\"request_id\":\"req_011CScswuPetFvxSThG2pr9Y\"}\n at F4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2412)\n at CP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n at CP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async vP (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1748:344)\n at async FV5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2445:8414)\n at async Promise.all (index 5)\n at async YSB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2445:8780)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2445:11156)\n at async AL5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3189:1018)","timestamp":"2025-08-29T23:36:19.659Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at $V (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1742:1184)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1742:912\n at Array.map (<anonymous>)\n at YX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1742:903)\n at ogB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3178:9325)\n at TD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:330:19415)\n at zc (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:42814)\n at Z9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38355)\n at jb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38283)\n at hD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38137)","timestamp":"2025-08-30T00:09:17.514Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at $V (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1742:1184)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1742:912\n at Array.map (<anonymous>)\n at YX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1742:903)\n at ogB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3178:9325)\n at TD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:330:19415)\n at zc (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:42814)\n at Z9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38355)\n at jb (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38283)\n at hD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:3813
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗