diegosouzapw/OmniRoute · error · Error
data.error?.message || data.error || "Failed to reorder comb
Error message
data.error?.message || data.error || "Failed to reorder combos"
What it means
Error "data.error?.message || data.error || "Failed to reorder combos"" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/app/(dashboard)/dashboard/combos/page.tsx:1073
resetComboDragState();
if (fromIndex === null || fromIndex === dropIndex) return;
const previousCombos = combos;
const nextCombos = moveArrayItem(combos, fromIndex, dropIndex);
setCombos(nextCombos);
setSavingComboOrder(true);
try {
const res = await fetch("/api/combos/reorder", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ comboIds: nextCombos.map((combo) => combo.id) }),
});
const data = await res.json();
if (!res.ok) {
throw new Error(data.error?.message || data.error || "Failed to reorder combos");
}
if (Array.isArray(data.combos)) {
setCombos(data.combos);
}
} catch {
setCombos(previousCombos);
notify.error(getI18nOrFallback(t, "failedReorder", "Failed to save combo order"));
} finally {
setSavingComboOrder(false);
}
};
if (loading) {
return (
<div className="flex flex-col gap-6">
<CardSkeleton />
<CardSkeleton />View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/app/(dashboard)/dashboard/combos/page.tsx:1073 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/429d4de75e494ecc.
Report an issue: GitHub.