---
title: Troubleshoot the research library
description: What to do when a research doc is stuck generating, fails, cannot be generated from a website, or has wrong or messy content.
canonical: https://distrosauce.com/docs/research-library/troubleshooting
last_updated: 2026-11-14
---

# Troubleshoot the research library

This page lists common research library problems and what to do about each one. For docs that do not match the prospects you expect, or match too many, see [How documents are matched to prospects](https://distrosauce.com/docs/research-library/keyword-matching#troubleshooting).

## The Generate button is disabled on the Competitor or Partner Doc card

Your workspace has no Cloudflare credentials, and the card says "Website crawling needs Cloudflare credentials. Add an account ID and API token in Settings > Integrations." An owner or admin adds the **Account ID** and **API Token** on the **Cloudflare Browser Rendering** card in **Settings > Integrations**. See [Create competitor and partner docs](https://distrosauce.com/docs/research-library/create-docs#cloudflare-credentials).

## A doc stays on Generating... for a long time

A doc generated from a website usually takes several minutes, and you can leave the page while it works.

If it stays **Generating...** for more than 10 minutes, it is marked **Failed** with an error that starts "Generation timed out" the next time **Research > Library** loads. You can then retry or delete it.

## A doc shows Failed

Hover over the **Failed** badge in **Research > Library**, or open the doc, to read the error. Common causes:

- No company profile. The error says "No active company profile found. Add one in Settings before generating research docs." Save your profile on **Settings > Company Profile**.
- Your Anthropic key needs credit or fixing. The error starts "AI provider unavailable: credit or key". Add credit or check the key, and Distrosauce resumes on its own within 10 minutes of the fix. See [Add your Anthropic API key](https://distrosauce.com/docs/integrations/anthropic-key).
- The website could not be read. See the next section.
- It timed out. See above.

Fix the cause, then press **Retry**. If it fails again, press **Delete** on the doc page, which moves it to **Archived**, and generate it again from **Research > Generate**.

## A doc from a website keeps failing

Read the error on the doc page. Common causes:

- The website blocks automated browsers, so the pages cannot be read.
- The domain was mistyped. Enter it without `https://` or a path, for example `rival-one.example`.
- Your Cloudflare account refused the request, for example because of its limits or the token's permissions. Check that the token has the "Browser Rendering - Edit" permission.

If the website cannot be read, you can still write the doc yourself with **Manual Entry**. See [Market context, stack patterns and manual entry](https://distrosauce.com/docs/research-library/manual-docs).

## A generated doc has wrong information

Edit **Content** on the doc page and press **Save content**. Your edit becomes the current version, and earlier versions stay in **Version History**. If a later refresh or regeneration makes the doc worse, restore your version from **Version History**. See [Edit, version and override documents](https://distrosauce.com/docs/research-library/manage-docs).

## An imported case study has navigation text in it

Distrosauce removes menus, footers, buttons and banners when it imports a page, but some can slip through. Edit **Content** on the doc page and press **Save content**. The cleaned version is used from then on. See [Add case studies](https://distrosauce.com/docs/research-library/case-studies).

## A doc shows Keywords missing

Distrosauce could not write its keywords, usually because the Anthropic key is out of credit. Fix the key, then wait for the daily refresh or press **Regenerate keywords & tags**. See [Staleness and refresh](https://distrosauce.com/docs/research-library/staleness#keywords-missing).

## A doc shows stale

A refresh found changes while **Auto-apply changes** is off on **Settings > Generation Config**. A stale doc is not used in generation. Press **Refresh** on the doc to apply the latest changes. See [Staleness and refresh](https://distrosauce.com/docs/research-library/staleness).

## What's next

- [What the research library does](https://distrosauce.com/docs/research-library/overview)
