Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
22 replies
Moussa

Vercel responding with 405 for a api route

the api path is correct, i think vercel thinks of it as a static route
Solution
logs:
Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the `prisma generate` command during the build process.
Was this page helpful?