You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -88,15 +88,21 @@ export function quotaExhausted(
88
88
claimUrl?: string,
89
89
opts: {status?: number;detail?: string}={},
90
90
): ToolkitError{
91
+
// Say that the allowance comes back. Without it this reads as a permanent paywall,
92
+
// which is how the API's own AUTH004 text reads ("Purchase a new subscription to
93
+
// continue") and why exhausted clients retry-loop instead of waiting or upgrading —
94
+
// one account spent seven days at ~3 req/s against this wall. `zenrows usage` prints
95
+
// the exact `period_ends_at`, so the date is one command away rather than guessed here.
96
+
constrenewLine="Credits renew at the end of the billing period — run `zenrows usage` for the date.";
91
97
constclaimLine=claimUrl
92
-
? `You are on the Zenrows Free plan. Claim your account to keep your usage and add credits: ${claimUrl}`
93
-
: `You are out of Zenrows credits. Add credits or upgrade your plan: ${DASHBOARD_URL}`;
98
+
? `You are on the Zenrows Free plan. Claim your account to keep your usage and add credits: ${claimUrl}. ${renewLine}`
99
+
: `You are out of Zenrows credits. ${renewLine} To carry on now, add a credit pack (${BILLING_TOPUP_URL} opens the purchase directly) or upgrade your plan: ${PLANS_URL}`;
0 commit comments