I'm using appwrite-node with Next.js 15. Im using email otp with node sdk and It works successfully locally but encounters issues when deployed to Vercel. Could I be missing a configuration setting?
It also says "ERR_TOO_MANY_REDIRECTS".
TL;DR
Title: [SOLVED] Appwrite-node issue on Vercel prod vs. local;
Message: Appwrite-node with Next.js 15 works locally but not on Vercel prod.
Fixed by adding `export const dynamic = "force-dynamic"` to statically rendered route.
Issue: "ERR_TOO_MANY_REDIRECTS" encountered.