Next.js Integration with @auth0/nextjs-auth0 - v4.4.2

Running into the error below after going to auth/login.
500: INTERNAL_SERVER_ERRORCode: MIDDLEWARE_INVOCATION_FAILEDID: iad1::hj95h-1744250879675-ad92b9621be1

Using Regular Web Application
import Link from “next/link”;
import { ArrowRight } from “lucide-react”;
import { auth0 } from “@/lib/auth0”;

export default async function Home() {
const session = await auth0.getSession();

if (!session) {
return (


Login to Dashboard


);
}
}