> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useflytrap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

```typescript theme={null}
export const revalidate = 0;
```
