Next.js sitemap.xml returns 404 on Vercel production with dynamic data

I’m having the same issue and need a solution that does involve adding code as I don’t have access to that either.