x-api-402-credits-depleted-not-auth-failure

When testing X API v2 Bearer Token, a 402 CreditsDepleted error confirms the token is valid — it is NOT an authentication failure. Auth failures return 401 or 403. Distinguish carefully: 402 means credentials work but the developer portal account has zero credits. Resolution: buy credits on developer.x.com, not re-generate the token.