import Head from "next/head"; import { useSearchParams } from "next/navigation"; import { APP_NAME, WEBSITE_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button, showToast } from "@calcom/ui"; import { Copy } from "@calcom/ui/components/icon"; import PageWrapper from "@components/PageWrapper"; export default function Error500() { const searchParams = useSearchParams(); const { t } = useLocale(); return (
Something unexpected occurred | {APP_NAME}

500

It's not you, it's us.

Something went wrong on our end. Get in touch with our support team, and we’ll get it fixed right away for you.

{searchParams?.get("error") && (

Please provide the following text when contacting support to better help you:

              {searchParams?.get("error")}
              
)}
); } Error500.PageWrapper = PageWrapper;