campaign_too_large
- HTTP status
- 422
- Retry
- No
- Execution
- Nothing was done
- Admin needed
- No
Campaign too large. A single run can carry a limited number of recipients, and a resume can re-screen a limited number of remaining recipients. Retrying will not help: split the audience across several campaigns.
What it means
The API returns HTTP 422 with error.code set to campaign_too_large. The default message is: "This campaign has too many recipients to start in one run."
Common causes
- The recipient list is larger than one run accepts (start).
- Too many recipients remain to re-screen before a resume (resume).
How to identify it
Check the response status (422) and error.code (campaign_too_large). Branch on error.code, not on the message text: messages can be reworded, codes do not change within v1. Log error.request_id (also sent as the X-Request-Id header) so support can find the request.
How to fix it
- Start: split recipients across several campaigns.
- Resume: list the recipients still
pending, create new campaigns of them in smaller parts, start those, and stop this campaign (stopping does not hang up calls in progress).
Retry guidance
Sending the request unchanged fails the same way. Fix the cause first (see How to fix it), then send it again.
Did anything happen?
This request was refused before any call was placed and before anything was charged.
Idempotency
Nothing was done and the refusal is not stored under the Idempotency-Key. Fix the cause, then send the same request (with the same key if you sent one).
Who can fix it
The developer who sends the request can fix it; no administrator action is normally needed.
When to contact support
If the error persists after the steps above, contact support@relationsai.com. See Support for what to include (the request_id, the time in UTC, the operation, and whether you used a test or live key) and what never to send (API keys, Authorization headers, webhook signing secrets, recording links, transcripts or customer data).
Example error response
JSON
Operations that can return this error
POST /campaigns/{campaign_id}/start: Start a campaignPOST /campaigns/{campaign_id}/resume: Resume a campaign
See all codes in the error-code reference.