diff --git a/apps/console/src/routes.tsx b/apps/console/src/routes.tsx
index 7f25025fc..28f4d0a09 100644
--- a/apps/console/src/routes.tsx
+++ b/apps/console/src/routes.tsx
@@ -29,13 +29,17 @@ import { dataRoutes } from "./routes/dataRoutes.ts";
import { assetRoutes } from "./routes/assetRoutes.ts";
import { lazy } from "@probo/react-lazy";
-function ErrorBoundary() {
- const error = useRouteError();
+/**
+ * Top level error boundary
+ */
+function ErrorBoundary({ error: propsError }: { error?: string }) {
+ const error = useRouteError() ?? propsError;
if (error instanceof UnAuthenticatedError) {
return