Troubleshoot
Troubleshooting Build Problems
When using Flytrap, you might encounter some problems with the build process. These are problems and solutions that our users have encountered.
Next.js build fails with an error starting with “Dynamic server usage”
This error occurs due to a problem with Next.js, where the build process thinks that your route is a static route.
Solution
To solve the problem, simply add the below line to your Route Handler, to force dynamic routing.