diegosouzapw/OmniRoute · error · Error
t("proxySubscription.loadFailed")
Error message
t("proxySubscription.loadFailed") What it means
Error "t("proxySubscription.loadFailed")" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/app/(dashboard)/dashboard/settings/components/proxy/SubscriptionTab.tsx:91
}
return raw;
},
[t]
);
const [busyId, setBusyId] = useState<string | null>(null);
const [showForm, setShowForm] = useState(false);
const [editingId, setEditingId] = useState<string | null>(null);
const [form, setForm] = useState<FormState>(EMPTY_FORM);
const [saving, setSaving] = useState(false);
const [formError, setFormError] = useState<string | null>(null);
const load = useCallback(async () => {
setLoading(true);
setError(null);
try {
const res = await fetch("/api/v1/management/proxy-subscriptions");
if (!res.ok) throw new Error(t("proxySubscription.loadFailed"));
const data = await res.json();
setSubs(Array.isArray(data.items) ? data.items : []);
} catch (e) {
setError(e instanceof Error ? e.message : String(e));
} finally {
setLoading(false);
}
}, [t]);
const loadProviders = useCallback(async () => {
try {
const res = await fetch("/api/providers");
if (!res.ok) return;
const data = await res.json();
const connections = Array.isArray(data.connections) ? data.connections : [];
setProviders(
connections.map((c: Record<string, unknown>) => ({
id: String(c.id),View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/app/(dashboard)/dashboard/settings/components/proxy/SubscriptionTab.tsx:91 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/c4169cb34b125151.
Report an issue: GitHub.