POST http://localhost:3000/protected net::ERR_ABORTED 500 (Internal Server Error) when uploading PDF
I’m getting a 500 error when I attempt to upload the file.
POST http://localhost:3000/protected net::ERR_ABORTED 500 (Internal Server Error)
POST http://localhost:3000/protected net::ERR_ABORTED 500 (Internal Server Error) when uploading PDF
I’m getting a 500 error when I attempt to upload the file.
POST http://localhost:3000/protected net::ERR_ABORTED 500 (Internal Server Error)
Is there a way to pass fetched data from the server side to the client side in Next 14?
// navbar.tsx import Link from “next/link”; import Container from “./ui/container”; import MainNav from “./main-nav”; import getCategories from “@/actions/get-categories”; const Navbar = async () => { const categories = await getCategories(); return ( <> <div className=”border-b”> <Container> <div className=”relative px-4 sm:px-6 lg:px-8 flex h-16 items-center”> <Link href=”/” className=”ml-4 flex lg:ml-0 gap-x-2″> <p className=”font-bold text-xl”>STORE</p> </Link> <MainNav […]