Error catalog
All error codes returned by the v1 API, with a concrete action hint.
Error envelope
All errors follow this JSON format:
{
"error": {
"type": "authorization_error",
"code": "insufficient_scope",
"message": "This API key does not contain the required scope for this endpoint.",
"hint": "This key is missing the `leads:capture` scope. Create a new key with the \"Lead capture\" preset or add the scope via the dashboard.",
"doc_url": "https://capturia.io/en/developers/api/v1/authentication#scopes",
"dashboard_url": "https://capturia.io/platform/dashboard/admin/integrations/api-keys/ak_xxx?tab=permissions",
"request_id": "req_01J9X8Z3F4K2M5N7P9Q1R3S5T7",
"details": {
"required_scope": "leads:capture",
"current_scopes": [
"contacts:read"
],
"suggested_preset": "lead_capture"
}
}
}All codes
| HTTP | Code | Type | Doc |
|---|---|---|---|
400 | batch_too_large | validation_error | Details below |
400 | invalid_body | validation_error | Details below |
400 | invalid_custom_fields | validation_error | Details below |
400 | invalid_encoding | validation_error | Conventions |
400 | invalid_json | validation_error | Details below |
400 | invalid_request | validation_error | Details below |
400 | no_fields | validation_error | Details below |
400 | no_sender_configured | business_rule_error | Details below |
400 | recipient_not_allowed | business_rule_error | Details below |
400 · 422 | validation_error | validation_error | Details below |
401 | expired_api_key | authentication_error | Authentication |
401 | invalid_api_key | authentication_error | Authentication |
401 | invalid_signature | authentication_error | Details below |
401 | missing_api_key | authentication_error | Authentication |
403 | account_suspended | authorization_error | Authentication |
403 | browser_not_allowed | authorization_error | Details below |
403 | feature_not_available | authorization_error | Authentication |
403 | insufficient_scope | authorization_error | Authentication |
403 | terms_acceptance_required | authorization_error | Authentication |
404 | contact_not_found | not_found_error | Details below |
404 | not_found | not_found_error | Details below |
404 | offer_not_found | not_found_error | Details below |
404 | purchase_not_found | not_found_error | Details below |
404 | resource_not_found | not_found_error | Details below |
405 | method_not_allowed | validation_error | Details below |
409 | already_enrolled | conflict_error | Details below |
409 | already_sent | conflict_error | Details below |
409 | already_signed | conflict_error | Details below |
409 | automation_inactive | conflict_error | Details below |
409 | automation_not_published | conflict_error | Details below |
409 | duplicate_contact | conflict_error | Details below |
409 | duplicate_resource | conflict_error | Details below |
409 | idempotency_conflict | idempotency_error | Conventions |
409 | lead_disqualified | conflict_error | Details below |
409 | lead_pursuit_ended | conflict_error | Details below |
409 | no_trigger | conflict_error | Details below |
409 | payment_in_progress | conflict_error | Details below |
409 | payment_plan_locked | conflict_error | Details below |
409 | purchase_conflict | conflict_error | Details below |
409 | quote_cancelled | conflict_error | Details below |
409 | quote_carried_by_page | conflict_error | Details below |
409 | quote_driven_by_contract | conflict_error | Details below |
409 | quote_offer_sent | conflict_error | Details below |
409 | quote_status_changed | conflict_error | Details below |
409 | recipient_unsubscribed | conflict_error | Details below |
409 | revision_original_taken | conflict_error | Details below |
409 | send_in_progress | conflict_error | Details below |
409 | send_outcome_unknown | conflict_error | Details below |
409 | sender_unavailable | conflict_error | Details below |
409 | signature_payment_order_locked | conflict_error | Details below |
409 | status_locked | conflict_error | Details below |
409 | tag_managed_by_capturia | conflict_error | Details below |
413 | payload_too_large | validation_error | Conventions |
415 | invalid_content_type | validation_error | Conventions |
422 | agreement_off_price | business_rule_error | Details below |
422 | booking_not_found | business_rule_error | Details below |
422 | business_rule_violation | business_rule_error | Details below |
422 | conditions_unsettled | business_rule_error | Details below |
422 | contact_archived | business_rule_error | Details below |
422 | contact_refused_recording | business_rule_error | Details below |
422 | contract_required | business_rule_error | Details below |
422 | deposit_not_payable | business_rule_error | Details below |
422 | invalid_email | validation_error | Details below |
422 · 400 | invalid_payload | validation_error | Details below |
422 | invalid_phone | validation_error | Details below |
422 | invalid_prospect_email | business_rule_error | Details below |
422 | launch_date_unsettled | business_rule_error | Details below |
422 | lines_to_settle | business_rule_error | Details below |
422 | media_too_large | validation_error | Details below |
422 | meeting_type_not_found | business_rule_error | Details below |
422 | missing_consent | business_rule_error | Details below |
422 | missing_postal_address | business_rule_error | Details below |
422 | monthly_requires_agreement | business_rule_error | Details below |
422 | no_payment_method | business_rule_error | Details below |
422 | no_prospect_email | business_rule_error | Details below |
422 | offer_language_mismatch | business_rule_error | Details below |
422 | pipeline_not_found | business_rule_error | Details below |
422 | prices_to_verify | business_rule_error | Details below |
422 | refund_exceeds_amount | business_rule_error | Details below |
422 | seller_not_found | business_rule_error | Details below |
422 | stage_not_found | business_rule_error | Details below |
422 | system_not_found | business_rule_error | Details below |
422 | transcript_too_long | validation_error | Details below |
422 | transcript_too_short | validation_error | Details below |
422 | transcript_unreadable | validation_error | Details below |
422 | unpriced_lines | business_rule_error | Details below |
422 | unsupported_media_type | validation_error | Details below |
422 | untaxed_quote | business_rule_error | Details below |
422 | upload_incomplete | business_rule_error | Details below |
429 | import_daily_limit_reached | business_rule_error | Details below |
429 | rate_limit_exceeded | rate_limit_error | Rate limits |
429 | rate_limited_ip | rate_limit_error | Details below |
429 | subscription_limit_reached | business_rule_error | Details below |
429 | test_quota_exceeded | rate_limit_error | Details below |
429 | too_many_attempts | rate_limit_error | Authentication |
429 | trigger_throttled | rate_limit_error | Details below |
500 | internal_error | server_error | Details below |
501 | not_implemented | server_error | Details below |
503 | service_unavailable | server_error | Details below |
Codes detailed here
Batch too large batch_too_large
The batch sent contains more items than this endpoint accepts in one request. Nothing was recorded.
Hint: details. gives the maximum number of items per request: split the batch into several requests.
Invalid body invalid_body
The JSON received is valid, but it is not an object. Nothing was recorded.
Hint: Send an object ({ ... }): this endpoint accepts no array, string or number.
Invalid custom fields invalid_custom_fields
A custom field sent does not exist on the account, or its value does not match its type. Nothing was recorded.
Hint: details names each refused field: unknown_ (no field with this name on the account) or invalid_ (value outside the field's type).
Invalid JSON invalid_json
The request body could not be parsed as JSON. Nothing was recorded.
Hint: Check the JSON syntax (quotes, commas, braces) and its UTF-8 encoding.
Invalid request invalid_request
A query parameter, a header or the body stream is malformed. details, when present, names the field and the reason; an interrupted body stream or an unreadable Content- has none.
Hint: Check that headers, body and JSON encoding match the API contract documented in the API Reference.
No field to update no_fields
The update request contains no field this endpoint can change.
Hint: Send at least one of the endpoint's updatable fields, listed in the reference.
No sender configured no_sender_configured
The account has no default sending address: no email can be sent on its behalf.
Hint: Set up the account's default sender in the dashboard, then retry the request.
Recipient not allowed recipient_not_allowed
A test email is only sent to an active team member of the account, never to a contact.
Hint: Use the address of an active team member of the account as the recipient.
Validation error validation_error
A request field is missing or invalid. details names it: a list of {field, reason}, or an object specific to the endpoint.
Hint: details names each field to fix and the reason it was refused.
Invalid signature invalid_signature
When the request carries a signature, it must match the exact body received. A malformed, expired or wrong signature is refused, and nothing is recorded.
Hint: details gives the reason. The X- header carries t=: the HMAC-SHA256 of <t>. computed with your API key, less than 5 minutes old.
Call from a browser browser_not_allowed
An API key placed in a web page can be read by any visitor. The reference names the endpoints that refuse a call coming from a browser.
Hint: The request carries an Origin header: call the API from your server, where the key stays secret.
Contact not found contact_not_found
No contact on the account matches the identifiers received, and the request asks not to create one.
Hint: Check the identifiers sent, or remove create_ so Capturia creates the contact.
Not found not_found
The target resource does not exist, or is not accessible with this key. A path that no endpoint serves also returns this code.
Hint: details. names the resource looked up. Check its ID: it may have been deleted, or it belongs to another account.
Offer not found offer_not_found
The purchase names with offer. an offer that doesn't exist in the key's account. Nothing was recorded: no offer is created in its place.
Hint: Copy the offer's identifier in Capturia (Settings, API Keys, "Your offer identifiers" section), or send offer., the offer's key in your sales system.
Purchase not found purchase_not_found
The refund targets a purchase Capturia never received under this external ID. Nothing was recorded.
Hint: Send the refund with the external_ of the purchase already recorded.
Resource not found resource_not_found
The provided ID does not exist, or is not accessible with this key.
Hint: Verify the resource ID. It may have been deleted or never existed.
Method not allowed method_not_allowed
The path exists, but it does not respond to the method used.
Hint: The response's Allow header lists the accepted methods.
Already enrolled already_enrolled
Without multiple opportunities, a contact follows only one run at a time of the same automation.
Hint: Wait for the current run to finish, or enable multiple opportunities in the automation's enrollment settings.
Quote already sent already_sent
The quote has already been sent to the prospect: it does not go out a second time.
Hint: Read the quote to see its current state before any other action.
Quote already signed already_signed
The prospect already signed this quote: it can no longer be sent or updated.
Hint: Read the quote to see its current state.
Automation inactive automation_inactive
A disabled automation can neither be triggered nor receive enrollments.
Hint: Activate the automation in the dashboard, then retry the request.
Automation not published automation_not_published
Only the published version of an automation runs: a draft that was never published cannot be triggered.
Hint: Publish the automation in the dashboard, then retry the request.
Contact already exists duplicate_contact
The person already exists on the account. The response returns their record as is in data, without changing it.
Hint: details. names the conflicting fields and data holds the existing record: update it with PATCH instead of creating it again.
Duplicate resource duplicate_resource
Business uniqueness conflict (e.g. email already used for a contact).
Hint: See details for the conflicting field.
Lead disqualified lead_disqualified
The target lead is disqualified: its stage cannot change until the disqualification is lifted. Moving to a lost stage, or to the disqualification stage, is still accepted.
Hint: Reopen the lead from its record in the dashboard, then retry the request. A lost stage or a disqualification stage is still accepted without reopening.
Pursuit ended lead_pursuit_ended
The lead's sales pursuit has ended (customer, lost or refused): Capturia no longer enrolls them in an outreach journey.
Hint: details gives the reason. A record whose pursuit has ended no longer receives sales sequences or automations.
No trigger no_trigger
The published version of the automation contains no trigger: nothing can start it.
Hint: Add a trigger to the automation, publish it again, then retry the request.
Bank debit in progress payment_in_progress
The prospect paid this quote by bank debit and the bank hasn't responded yet. The quote can be neither declined nor cancelled in the meantime, otherwise the prospect would be refunded without asking for it. The refusal is temporary: try again once the debit is confirmed or refused.
Hint: Try again once the bank has confirmed or refused the debit, usually within a few business days.
Payment plan locked payment_plan_locked
A payment was already collected on this quote: its payment plan can no longer change.
Hint: Remove the payment plan from the request to update the quote's other fields.
Purchase conflict purchase_conflict
Sending a recorded purchase again has no effect, but sending it with different values is refused. Nothing was recorded.
Hint: One external_ identifies one purchase: reuse its original values, or send a new external_ for another purchase.
Quote cancelled quote_cancelled
The quote was cancelled: it can no longer be sent.
Hint: Create a new quote for this prospect.
Quote carried by a page quote_carried_by_page
A proposal page (sent or still a draft) carries this quote: it goes out from its page, which shows it and opens its link to the prospect, never on its own.
Hint: Send the proposal from the dashboard, or through an automation's “Send the proposal” step.
Quote driven by a contract quote_driven_by_contract
A contract wrote this quote: its lines, payment plan, options and taxes are edited in the contract, and signing the contract accepts the quote.
Hint: Remove these fields from the request, or edit the contract that drives the quote.
Offer locked once sent quote_offer_sent
The quote is no longer a draft: what the prospect received (lines, options, payment plan, taxes, payment terms) no longer changes. For a quote still open, a correction goes through a new version, created from the quote's page, which replaces the old one when it's sent.
Hint: Remove these fields from the request. To correct the offer of a quote still open, revise it from its page: a new version replaces it when sent.
Quote state changed quote_status_changed
The quote's state changed during the request, for example when it expired. Nothing was sent.
Hint: Read the quote to see its new state.
Recipient unsubscribed recipient_unsubscribed
The contact withdrew consent to the account's emails. The send is refused, and nothing went out.
Hint: No commercial email can be sent to them until they subscribe again themselves.
Replaced quote already accepted revision_original_taken
This new version replaces a quote the prospect accepted, signed or paid in the meantime: it is not sent, so the prospect never receives two offers for the same sale.
Hint: The prospect already accepted the original quote: remove this version from the dashboard if it no longer serves a purpose.
Send in progress send_in_progress
Another request is already sending this quote. The second one is refused so it does not go out twice.
Hint: Wait a few seconds, then read the quote to see the outcome of the send.
Send outcome unknown send_outcome_unknown
A previous send did not confirm its outcome. So the quote never goes out twice, Capturia does not resend it on its own.
Hint: The prospect may already have received it. Check with them, then resend the quote from the dashboard if needed.
Sender unavailable sender_unavailable
The quote is sent on behalf of the assigned seller, who has no valid sending address.
Hint: Set up the seller's sending address, or assign the quote to another seller, then retry the request.
Signature and payment order locked signature_payment_order_locked
The quote was already sent: the order in which the prospect signs and pays can no longer change.
Hint: Remove this order from the request to update the quote's other fields.
Status locked status_locked
The state of a signed, paid or closed quote is final.
Hint: Read the quote to see its current state.
Tag managed by Capturia tag_managed_by_capturia
The target tag is a campaign tag (system_ starting with campaign:). Capturia adds it to every lead of the campaign and removes it when the lead changes campaign: it cannot be attached or detached through the API. Filtering on it to count a campaign's leads is the intended use.
Hint: Capturia adds this tag to every lead of the campaign and removes it when the lead changes campaign. To change a lead's campaign, choose it from the lead's record in the dashboard.
Agreement off price agreement_off_price
The payments of the payment agreement, the quote's or one of its options', no longer add up to its price (the price changed after the agreement): the lead could neither pay nor sign. The quote is not sent until the payments are adjusted to the price.
Hint: The agreement's payments (the quote's, or an option's) no longer add up to its price: open the quote in the dashboard and choose “Adjust the payments to the price” in the agreement, then retry the send.
Booking not found booking_not_found
The booking_ sent points to no active one-on-one booking of the account with its contact (a cancelled, archived or group booking, or one without a contact, is none), or to another contact's booking than the one named. Nothing was recorded.
Hint: Check booking_: an individual booking, neither cancelled nor archived, with its contact. Or remove it: a conversation seller held themselves, without held_, then lands on their only booking at occurred_.
Business rule violated business_rule_violation
The operation is blocked by a business rule (e.g. stage in another pipeline, archived contact, contact unsubscribed from the series, unpublished event).
Hint: details names the rule that blocks the operation. The endpoint's reference lists each possible value and what it requires.
Terms to settle conditions_unsettled
A term of the quote still awaits the seller, management's approval or its text in the quote's language: the quote doesn't go out without it.
Hint: Open the quote in the dashboard: settle each term heard, have management approve a deviation and write each text in the quote's language, then replay the send.
Contact archived contact_archived
The purchase targets an archived contact: Capturia records nothing on an archived record.
Hint: Restore the contact in Capturia, then send the purchase again.
Recording refused by the person contact_refused_recording
The person on the contact refused to be recorded. Their contact receives no conversation, whatever the entry: the submission is refused and listed in the account's log.
Hint: Don't resend this conversation. If the person changes their mind, an account member removes the refusal on their contact.
Contract required contract_required
The contract setting of the offer the quote sells requires a contract, and the quote is “payment only”: the lead would pay without signing anything. The quote isn't sent until it carries a signature, or its contract.
Hint: The quote would be paid without signing anything. Open the quote in the dashboard: choose an order with a signature in its Signature and payment card, or send it with its contract, then replay the send.
Deposit not payable deposit_not_payable
The deposit requested reaches or exceeds the total of the quote, or of one of its options: the schedule has nothing left to pay.
Hint: Keep the deposit below the quote total and below each option's total.
Invalid email invalid_email
The email received is not in a valid format. Nothing was recorded.
Hint: details names the refused field. Send a complete address, such as name@example..
Invalid content invalid_payload
The body could not be read (400), or a field does not match the endpoint's schema (422). Nothing was recorded.
Hint: With details, each refused field is named with its reason. Without details, the body could not be parsed as JSON.
Invalid phone invalid_phone
The number is missing, or the one received cannot be read as a phone number. Nothing was recorded.
Hint: details names the refused field. Send a complete number, preferably in E.164 format (+15145551234).
Invalid prospect email invalid_prospect_email
The prospect address recorded on the quote is not in a valid format.
Hint: Fix the prospect's email on the quote, then retry the send.
Launch date to set launch_date_unsettled
The quote's agreement has a payment or a monthly fee that starts at Launch and no Launch date is written, or a written date can no longer be kept (its last day to pay has passed, or its booked meetings no longer hold it), whatever the agreement. The quote isn't sent until the seller sets, in the dashboard, a date that holds.
Hint: The quote's agreement has a payment or a monthly fee that starts at Launch, or its promised date can no longer be kept: open the quote in the dashboard, set the Launch date with the client, then retry the send.
Lines to settle lines_to_settle
A quote prepared from a meeting is only sent once the lines whose item isn't proven (several possible items, or none in the catalog) or whose stated price differs from the catalog are settled.
Hint: Settle these lines in the dashboard, then retry the send.
Audio file too large media_too_large
The announced file exceeds the size a submission through the API accepts. details. gives the limit.
Hint: details. gives the limit. Send the conversation's transcript instead.
Meeting type not found meeting_type_not_found
The meeting_ sent points to no active meeting type of the account. Nothing was recorded.
Hint: Check meeting_, or remove it: the conversation then takes the account's default type.
Consent missing missing_consent
The request targets a person without the required consent: an email to an address that is not a consenting contact of the account, or a lead received without its consent fields. Nothing was sent or recorded.
Hint: details names the field at issue and what is missing. A commercial message (email or text) only goes to a contact who consented to it: create the contact with their consent, or record that consent on the existing contact.
Postal address missing missing_postal_address
CASL requires the sender's postal address in every commercial email.
Hint: Add the postal address in Settings, Brand identity, then retry the request.
Monthly fee without an agreement monthly_requires_agreement
Lines billed every month are only paid through an agreement: a quote (or an option) that carries them under another payment plan is not sent.
Hint: A monthly fee is only paid through an agreement: open the quote in the dashboard and set its plan (or the option's) to “Agreement”, or bill those lines once, then retry the send.
No payment method no_payment_method
The quote asks for a payment, but the account can't collect in any way: no Stripe connected, no transfer instructions. The quote isn't sent until collection is set up.
Hint: Connect Stripe or write the transfer instructions in the dashboard's Sales document settings › Payment and welcome, then retry the send.
Prospect email missing no_prospect_email
A quote is sent by email: without the prospect's address, it cannot be sent.
Hint: Add the prospect's email to the quote, then retry the send.
Offer in the former language offer_language_mismatch
The quote's language changed and its lines, options or terms are still in the former one: the quote doesn't go out until the seller has translated and confirmed them.
Hint: Open the quote in the dashboard: translate its lines, options and terms into the quote's language, confirm it on its Language card, then replay the send.
Pipeline not found pipeline_not_found
The pipeline requested for the lead does not exist on the account. Nothing was recorded.
Hint: Copy the pipeline identifier from Settings, API Keys, "Your pipeline and stage identifiers" section.
Prices to check prices_to_verify
A quote prepared from a meeting is only sent once the prices that no sentence from the meeting proves are confirmed.
Hint: Confirm or correct these prices in the dashboard, then retry the send.
Refund too high refund_exceeds_amount
The total refunded cannot exceed the amount paid.
Hint: Send in refunded_ the total refunded so far, in cents, without exceeding the purchase amount.
Seller not found seller_not_found
The seller named in seller isn't an active member of the account. Nothing was recorded.
Hint: Check seller. or seller., or remove seller: the conversation then goes to the record's seller, otherwise to the account's default seller.
Stage not found stage_not_found
The stage requested does not exist in the target pipeline. Nothing was recorded.
Hint: Use the slug of a stage of this pipeline, as returned by GET /v1/pipeline/stages.
System not found system_not_found
The System named by the request does not match any System on this account: unknown UUID, or one belonging to another account. The response is identical in both cases, and details. names the rejected field. On a contact creation or a lead capture (system_), no contact is created. On a webhook creation (system_), no webhook is created. On the system_ filter of GET /, the System must also be active: a draft or archived System returns the same rejection. GET / lists the account's active Systems.
Hint: Use the UUID of one of your Systems, or omit system_id: the lead goes to your key's System, otherwise to your main System.
Transcript too long transcript_too_long
Beyond a maximum size, a transcript no longer analyzes as a conversation. details. gives that limit; a longer conversation is sent as audio.
Hint: details. gives the limit. A longer conversation is sent by its audio recording (media).
Transcript too short transcript_too_short
Below a minimum number of words, a conversation has nothing to analyze. details. gives that minimum.
Hint: details. gives the minimum number of words. A shorter conversation has nothing to analyze.
Unreadable transcript transcript_unreadable
The transcript received contains no readable speaking turn, so there are no words to analyze; or its times go beyond one day, or end before they start.
Hint: Send the text as is in transcript. (one "Name: text" line per turn, or a WebVTT or SRT file), or the turns in transcript.. Times count from the start of the conversation, over one day at most, the end never before the start.
Unpriced lines unpriced_lines
A quote is only sent once every line is priced.
Hint: Give each line a price, then retry the send.
Audio format not accepted unsupported_media_type
The type announced in media. isn't an audio format Capturia transcribes. details. lists the accepted types.
Hint: details. lists the accepted types. Convert the recording, or send its transcript.
Untaxed quote untaxed_quote
A quote is not sent without its taxes, unless an exemption is justified.
Hint: Assign a tax profile with its rates, or give the exemption reason in tax_, then retry the send.
Incomplete file upload_incomplete
The audio file uploaded at the upload link doesn't have the announced size. The submission is removed: send the conversation again to get a new upload link.
Hint: Resend the conversation to get a new upload link, then upload the whole file before calling complete.
Daily limit reached import_daily_limit_reached
An account receives a limited number of imported conversations per day (UTC). This refusal counts toward the key's quota.
Hint: The limit counts per day (UTC) and per account. Resend the conversation tomorrow.
IP limit reached rate_limited_ip
This endpoint also limits throughput per IP address, on top of the key's quota.
Hint: details gives the limit and the window in seconds. Wait for the Retry- header's delay before retrying.
Subscription limit reached subscription_limit_reached
An account has a maximum number of webhook subscriptions. This refusal counts toward the key's quota.
Hint: details. gives the limit per account: delete an unused subscription before creating another one.
Test quota reached test_quota_exceeded
Test sends are limited over a rolling window, to protect the account's sending reputation. This refusal counts toward the key's quota.
Hint: details gives the usage, the limit and the window in hours: wait for the window to end before sending another test.
Trigger throttled trigger_throttled
Enrollment guards protect your contacts from repeated outreach. This refusal counts toward the key's quota.
Hint: Three guards can refuse: a duplicate enrollment within 5 minutes, the 24-hour re-enrollment cap, or the account's safety cap on runs opened within the hour. Try again later.
Server error internal_error
The server hit an unexpected error. A write may have gone through anyway: check the resource before sending it again. The request_ lets our support team retrieve the incident in Sentry.
Hint: If this persists, contact support and include the request_id from this response.
Not implemented not_implemented
Endpoint reserved for future use (e.g. cap_ sandbox key).
Hint: Check the API documentation for available features and the changelog for upcoming releases.
Service unavailable service_unavailable
A service Capturia depends on is briefly unreachable, and the request did not go through. It can be sent again with the same body after the delay in the Retry- header; a signed request (X-) is signed again on every send.
Hint: Retry after the period indicated by Retry-After.