> ## 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 Replay Problems

> When using Flytrap, you might encounter some problems with the capturing. These are problems and solutions that our users have encountered.

## Replaying doesn't work

Troubleshooting replay problems is done easiest by enabling logging. Next, when replaying check your console logs. If you don't see anything saying that replay data has been loaded, usually the problem is the following;

* You haven't set `mode` setting to `'replay'`
* You haven't deleted build cache (for example Next.JS `.next` folder), so the old configuration file is cached
* You have built your code with `NODE_ENV` set to `'production'`, which has caused `mode` to be set to `'capture'` as a security measure.

### Solution

Make sure that the correct mode is enabled, build with `NODE_ENV` set to `'development'`, and clear possible cache folders.
