Internal Server Error on dynamic routes Nextjs

I’m getting error when I reload dynamic pages on this URL: Workflow-SaghiOMey

I’ve used many nextjs versions but I won’t be able to resolve any things

Hiya :wave:t6: thanks for reaching out and welcome to the forums! I’m not seeing any errors on the page or in the console are you still experiencing this issue?

1 Like

Yes, Did you check the link? I have this error Internal server error after each reload, I don’t know what is problem, but I hope helps me resolve it, you can check this URL: https://workflow-saghiomey.netlify.app/blogs/Change-invite-&-Sell-each-episode

After each refresh, you’ll see this error.

1 Like

Thank you so much, I could fixed my bug by added this code to my netlify.toml file

[functions]
  included_files = [
  "node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context*",
  "node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context*",
]

Awesome. glad to hear it! :+1:t6:

1 Like