claude-code - 💡(How to fix) Fix [BUG] Token refund request — excessive token usage due to misleading Vercel CLI feedback loop

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Root Cause

Impact: ~40+ turns and significant token usage spent on DNS debugging, CLI redeployments, and Vercel dashboard changes that were all irrelevant to the root cause.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

I'm requesting a token refund for a session that ran significantly longer than it should have due to a combination of misleading external tool feedback and a non-obvious
Vercel configuration trap.

What I was doing: Setting up a simple Next.js placeholder site on Vercel with a custom domain (dililabs.ai).

What went wrong: The project was scaffolded under a Vercel team scope (spencerlawsons-projects) which had Vercel Authentication (Deployment Protection) enabled by default. This caused the custom domain to return 404 NOT_FOUND rather than 401, which masked the real cause for many turns.

Throughout the session, vercel alias set repeatedly reported "Success!" while the domain continued returning 404 — giving false positive feedback that kept the debugging
loop going in the wrong direction. The actual fix was simply deleting the project and re-importing it under the personal account scope, which took 30 seconds.

What Should Happen?

Impact: ~40+ turns and significant token usage spent on DNS debugging, CLI redeployments, and Vercel dashboard changes that were all irrelevant to the root cause.

Request: Partial token refund for the wasted turns caused by the misleading CLI output and non-obvious platform behavior.

Error Messages/Logs

Steps to Reproduce

Session details: May 8, 2026 — dililabs.ai project setup

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.136

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING