Playwright Authentication Request Payload Mismatch Causing API Error

Resolved 💬 4 comments Opened Jul 8, 2025 by d1rewolf Closed Jan 5, 2026

Bug Description

what about my full-playwright code, versus the requests-based code, might immediately trigger "400" errors? Something about it is functioning differently. I want you to look at this as a senior python

dev wiht 30 years of doing this
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"}}

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.44
  • Feedback ID: 97c22c17-0981-4e42-b63e-7c20d897998e

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"}}\n    at D6.generate (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1304:12815)\n    at gq.makeStatusError (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:2100)\n    at gq.makeRequest (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async fA1.showErrors (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:23214)\n    at async fA1 (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:12720)\n    at async aR2 (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:23062)\n    at async file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:18138\n    at async Y0A (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:5121)\n    at async Vc (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:18108)","timestamp":"2025-07-08T01:01:48.053Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"}}\n    at D6.generate (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1304:12815)\n    at gq.makeStatusError (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:2100)\n    at gq.makeRequest (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async fA1.showErrors (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:23214)\n    at async fA1 (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:12720)\n    at async aR2 (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:23062)\n    at async file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:18138\n    at async Y0A (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:5121)\n    at async Vc (file:///Users/jb/.nvm/versions/node/v23.2.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1690:18108)","timestamp":"2025-07-08T01:02:14.466Z"}]

View original on GitHub ↗

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