500 Error on Dynamic Next.js route

There’s no official way at the moment. Closing this in favour of the original post: Server.edge not defined Error on nextJS SSR functions cause site to return 500 Errors