Skip to main content

Troubleshooting: campaign and journey enrollment errors

Enrollment and graph-validation errors are refused at the door — before any contact enters the journey, and before a single message is sent. This page covers the four campaign-side refusal codes, the segment-snapshot enrollment ceiling, the four journey-graph validation codes, and the one executor-recovery code on the resume path. For failures that happen inside a running journey (failed execution rows, misbehaving nodes), see Troubleshooting: a flow execution that failed. The four surfaces this page debugs: The first two are the enrollment endpoints; the third refuses AUDIENCE_TOO_LARGE at launch; the fourth hits the re-validation safeguard covered below.

The enrollment validation flow

Every enrollment request runs the same gate sequence. The first gate that fails returns its own code, so the response tells you which step rejected it:
The resume path adds a pre-flight gate on step 4: before the executor runs, the stored journey definition is re-validated against the same graph rules, so a journey cannot re-enter on a graph that drifted after it started.

Campaign-side refusals

These codes come from the campaign record or the launch itself — the graph never gets looked at.

CRM-backed audience source failures

When a campaign’s audience source points at a connected CRM — a HubSpot list, a Salesforce report, or a Pipedrive filter — launch resolves that audience over the CRM’s API before a single message is queued. Two failure codes can stop that launch: For AUDIENCE_RESOLVE_FAILED, check the cause chain in this order:
  1. Connection health — open Settings → Integrations and confirm the CRM shows an active connection. Expired authorization is the most common cause; re-authorize it there.
  2. CRM rate limits — HubSpot, Salesforce, and Pipedrive throttle API reads per account. If the connection is healthy, wait for the rate window to reset, then relaunch.
  3. Auth expiry at the CRM — a revoked or rotated access token on the CRM side fails the same way; re-authorizing the connection refreshes it.
The resolver stops at the first failed page rather than return a truncated audience — the campaign would otherwise go out to only part of your list with no signal anything was missing. A full error envelope looks like:

Retrying is safe

Retrying the launch after you fix the connection or wait out the rate window is safe. A failed resolve never produces a partial send — the launch simply did not start, so relaunching does not double-send to anyone.

What not to do

Narrowing the audience does not fix a disconnected integration — INTEGRATION_DISCONNECTED fires before a single page is fetched, so a smaller list returns the same 412. Reconnect the CRM first.

When to escalate

Escalate to support with the campaign id and the meta.request_id from the error envelope when the same CRM source keeps returning AUDIENCE_RESOLVE_FAILED after the connection shows healthy, or when a reconnected CRM still returns INTEGRATION_DISCONNECTED.

Segment snapshot enrollment ceiling: SEGMENT_TOO_LARGE

POST /campaigns/:id/enroll-segment captures the segment’s current member set in one snapshot and enrolls it in a single dispatch. When the captured set exceeds 10,000 eligible members, the endpoint refuses the call with 422 SEGMENT_TOO_LARGE before enrolling anyone:
The count is taken after suppression filtering: members who are blocked, on the do-not-call list, globally opted out, or deleted do not count toward the ceiling, and members already active in the campaign are skipped rather than re-enrolled. A 12,000-member segment can therefore enroll cleanly if enough of it is suppressed, and a segment under the ceiling still skips its already-active members on a re-run.

Why the ceiling exists

One snapshot dispatch enrolls every captured member concurrently, so an unbounded segment would occupy the API’s workers for the whole dispatch. The 10,000-member ceiling keeps a single call from saturating them at the expense of every other request. The segment-entry router, which enrolls new segment members incrementally as they join, has no such ceiling; the cap applies only to the operator-facing snapshot endpoint.

Recovery paths

  1. Let the segment-entry router enroll incrementally. For a journey or drip campaign, new members who join the segment after the campaign is running are picked up automatically, with no ceiling. Start the campaign and let membership flow in instead of snapshotting a large existing segment in one call.
  2. Split the audience and enroll per batch. Partition the segment into cohorts of at most 10,000 eligible members (for example, by sign-up date or region) and call enroll-segment once per cohort.
  3. Contact support only if the ceiling blocks a legitimate one-shot launch of an existing audience that cannot be split. Include the campaign id and the meta.request_id from the error envelope (Settings → Organization shows your tenant id).

SEGMENT_TOO_LARGE versus AUDIENCE_TOO_LARGE

Both refusals are about audience size, but they are different gates: If a launch of a large segment fails, check which code the response names before choosing a fix: shrinking a launch audience does not change what a snapshot enrollment captures, and splitting a snapshot does not raise the launch-time tenant maximum.

Retrying is not a recovery path

The ceiling is deterministic: the same segment, unchanged, returns the same 422 on every call. Retrying the identical request never clears it. Wait for membership to change (suppressions or removals bring the captured set under the ceiling) or use one of the recovery paths above.

Journey-graph validation

These codes mean the campaign’s step graph could not resolve an entry point. Fix the graph in the campaign editor, then retry enrollment. JOURNEY_DEFINITION_INVALID, JOURNEY_TRIGGER_MISSING, and JOURNEY_TRIGGER_DISCONNECTED fire at enrollment time; JOURNEY_VALIDATION_FAILED fires at resume time. Same validator, different gate.

Executor recovery: RESUME_FAILED and the resume safeguard

When a journey enrollment pauses (a delay node, a send-time schedule), the scheduler later calls the resume endpoint to continue that contact. Two outcomes matter on that path:
  • JOURNEY_VALIDATION_FAILED (400) — the resume safeguard. Before the executor runs a single node, the stored journey definition is re-validated. If someone edited the graph after the campaign started (deleted the trigger, orphaned a node the paused enrollment was parked on), resume refuses and the response names the validation error. This refusal is a safeguard catching a graph drift, not a user error you need to retry through — fix the graph, and the scheduler picks the enrollment up on its next sweep.
  • RESUME_FAILED (500) — the executor itself threw mid-resume (the message field carries the underlying error). The scheduler counts the attempt, backs off exponentially, and retries; after its attempt ceiling it stops retrying the enrollment instead of looping on it. A RESUME_FAILED that keeps recurring on the same enrollment after the upstream cause is fixed (a dead webhook, an upstream 5xx) should be escalated with the campaign id, contact id, and tenant id.
Recovery, then: correctly form the graph, let the scheduler back off, and expect eventual recovery. Nothing in this table asks you to poll or manually re-trigger — enrollment attempts that fail are re-swept, and a 400 refusal stops retrying precisely because retrying cannot change it.

When to escalate

Escalate to support with the campaign id, the raw error response, and your tenant id (Settings → Organization) when:
  • The same contact gets ALREADY_ENROLLED after its earlier enrollment visibly completed or was cancelled.
  • A graph reads valid in the editor but enrollment still returns JOURNEY_DEFINITION_INVALID (a stale definition is usually the culprit; export the campaign as JSON so support can diff).
  • RESUME_FAILED persists across backoff cycles after the upstream cause is fixed, or resume attempts drain without a resolution.

See also