---
title: Troubleshoot lead processing
description: What to do when a lead is stuck, waiting or in error, when a signal makes no lead, or when research or emails come out wrong.
canonical: https://distrosauce.com/docs/troubleshooting/lead-processing
last_updated: 2026-11-15
---

# Troubleshoot lead processing

This page lists the problems you can see between a signal arriving and a lead's outreach being written, and what to do about each one. How a lead moves when everything works: [How a lead flows](https://distrosauce.com/docs/start-here/how-a-lead-flows).

## Stuck, waiting or in error

### A lead stays in researching or generating

You do not need to do anything. If a lead stays in **researching** or **generating** for more than 10 minutes, Distrosauce puts it back in the queue and starts it again on its own. Until it starts again, the lead shows **new** and its page shows "Reset: stuck in processing".

### A lead shows "Waiting: AI provider credit or key"

Your Anthropic key ran out of credit or Anthropic refused it, so every AI feature is paused instead of failing lead by lead. Add credit to your Anthropic account, or save a valid key on the **Anthropic (BYOK, required)** card in **Settings > Integrations**. Held leads resume on their own within 10 minutes of the fix; there is nothing to retry by hand. Details: [Add your Anthropic API key](https://distrosauce.com/docs/integrations/anthropic-key).

### A lead is in error

Open the lead: the message is under **Error**. Distrosauce tries a lead in **error** again on its own, so a temporary problem, such as Anthropic rate limiting your key, Anthropic being overloaded or a request that took too long, clears on a later try.

A refused or out-of-credit Anthropic key is not an error: the lead shows "Waiting: AI provider credit or key" instead (see above).

If the same error keeps coming back, contact support at hello@distrosauce.com with a link to the lead.

### Leads from a large Clay batch process slowly

This is normal. When many leads arrive at once, Distrosauce researches and writes a few at a time for each workspace. The rest wait as **new** and start as earlier ones finish, so a large batch takes a few minutes or more. No lead is dropped.

## Webhooks and signals

### The webhook answers 400 about signal_type

The `signal_type` you sent must be the slug of an active targeting thesis, exactly as written. An archived thesis does not accept signals. The error message lists your active slugs; you can also check them on **Settings > Targeting Theses**. The full messages: [The three 400 messages](https://distrosauce.com/docs/reference/webhook-payload#the-three-400-messages).

### The webhook answers 401

The webhook address or the `x-webhook-secret` header does not match. Check that the workspace slug at the end of the URL is your own, then the secret. The Clay webhook and the generic webhook have separate secrets: **Clay Webhook Secret** and **Generic Webhook Secret**, under **Webhook Secrets** on **Settings > Integrations**. Copy the right one into your tool again, especially after a secret was regenerated. For Clay: [Clay setup](https://distrosauce.com/docs/integrations/clay).

### A signal arrived but no lead appeared

Open **Signals** and find the signal's status.

- `correlated`: the signal is grouped with other signals about the same company, but their combined score is still below the threshold. It waits for more signals. Send more signals for that company to add to the score.
- `duplicate`: the same person already had a lead created within the lead cooldown, under any thesis, set in **Lead Cooldown Period (days)** on **Settings > Integrations**.
- `expired`: the signal did not reach the threshold within 30 days.

More on how signals add up: [Signals](https://distrosauce.com/docs/concepts/signals).

## LinkedIn

### No LinkedIn connection note was written

A note is written only when all of these are true:

- the LinkedIn channel is switched on with **Enabled** on the **LinkedIn (HeyReach)** card in **Settings > Integrations**
- the lead has a LinkedIn URL
- the lead's thesis has a **LinkedIn Prompt Block** on **Settings > Targeting Theses**
- a sender account linked to the lead's persona has LinkedIn switched on and a **HeyReach Sender ID** on **Settings > Sender Accounts**

When the channel is on but one of the others is missing, the lead page says why under **Skipped Channels**, for example "No LinkedIn URL on lead" or "Thesis has no LinkedIn prompt configured". Every reason and its fix: [Skip reasons](https://distrosauce.com/docs/reference/skip-reasons). Fix the cause, then regenerate the lead.

## Quality and matching

### Research is empty or thin

Research depends on what can be found on the web, so it is thin for small or private companies with little online presence. The emails are still written from the lead's data, the signal and your profile. To change what research looks for, edit the **Research Prompt Template** on **Settings > Generation Config**. Read a lead's research under **Research Context** on its page.

### Generated emails are off target or low quality

Check these, in order:

1. **Research Context** on the lead page: if research missed key details, the emails suffer.
2. **Generation Profile** on **Settings > Generation Config**: it goes into every draft.
3. The thesis's **Prompt Block** on **Settings > Targeting Theses**: it sets the angle.
4. The persona's **Voice Guidelines** on **Settings > Personas**: they set the tone.
5. **Lead Email System Prompt Template** on **Settings > Generation Config**: it sets the structure and rules.

After a change, press **Regenerate All** on a generated lead to write it again. More on these settings: [Company profile and generation settings](https://distrosauce.com/docs/concepts/company-profile). Editing and regenerating: [Edit and regenerate](https://distrosauce.com/docs/outbound/edit-and-regenerate).

### A persona does not match the lead

On **Settings > Personas**, check that the persona is **Active**, that one of its **Target Titles** appears in the prospect's title (case does not matter), and its **Priority**: when several personas match, the highest priority wins. How matching works: [Personas](https://distrosauce.com/docs/concepts/personas).
