On this page

Errors

The error shape, the HTTP statuses, and every error code the service returns, with what to do about each.

Shape

Every /v1 error and every MCP tool error has the same body:

{
  "error": {
    "code": "approval_pending",
    "message": "The approval has not been decided yet.",
    "fix": "Wait for the approver. Live: the dealer's registered approver decides from the link Xcel emailed them. Sandbox: open the review_url from request_approval, or POST /v1/test/campaigns/{id}/approval. An API caller cannot approve an order.",
    "field": "approval_id"
  }
}
Key Meaning
code Stable, machine-readable. Branch on this, not on message.
message One sentence for a person. It may contain row numbers and counts, never a value from a customer record.
fix What to do next. Agents should follow it. May be null.
field The request field at fault (name, copy.headline, Idempotency-Key), or null.
issues Only when more than one field is bad: {field, message} for each, up to 100. field, message and fix above describe the first. See Validation errors.
retry_after_seconds On a 429 only: whole seconds until the limit resets. See Rate limits.

REST responses carry an X-Request-Id header. Quote it to Xcel when you report a problem. A 401 also carries WWW-Authenticate: Bearer realm="xcel-mail-api". A 429 also carries Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset.

Over MCP, a failed tool call returns isError: true and the same JSON as text, a tool argument that fails its schema included. See MCP server.

Unknown paths

Every /v1 path answers JSON in this shape, including one that no endpoint serves. It needs no key and carries X-Request-Id:

{
  "error": {
    "code": "not_found",
    "message": "No endpoint at POST /v1/postcards.",
    "fix": "This API orders mail by campaign, not by piece: POST /v1/campaigns, then the audience, creative, proof, quote, approval and submit. See /docs/quickstart and /openapi.json.",
    "field": null
  }
}

Lob's per-piece paths (/v1/postcards, /v1/letters, /v1/self_mailers, /v1/snap_packs, /v1/booklets, /v1/checks) get the fix above. Lob's address paths (/v1/addresses, /v1/us_verifications, /v1/intl_verifications, /v1/bulk) get a fix that says there is no verification endpoint: rows are checked when the audience upload completes, and Xcel runs CASS and NCOA on live orders after submit. Any other path gets "Check the method and path against /openapi.json". A real path with a method it does not serve answers 405 method_not_allowed in the same shape, with an Allow header that lists the methods it serves (for example GET, HEAD, OPTIONS). No key is needed. OPTIONS on a real path answers 204 with the same Allow header. Some paths name where the job lives: DELETE /v1/campaigns/{id} says there is no cancel endpoint (leave the order unsubmitted, or ask Xcel ops to stop a submitted one), and PUT, PATCH or DELETE on a template says that a template is changed by saving its next version (POST /v1/templates) and retired with POST /v1/templates/{code}/retire.

Four surfaces answer in other ways:

Surface What a failure looks like
/api/mcp without valid credentials HTTP 401 before any tool runs, with the standard unauthorized body (not an isError tool result) and WWW-Authenticate: Bearer realm="xcel-mail-api", resource_metadata="$API/.well-known/oauth-protected-resource", scope="mail:test mail:live", which starts an OAuth client on its way. When a key or token was sent but is not valid, the challenge adds error="invalid_token" and a description. See MCP server.
The OAuth endpoints (/oauth/register, /oauth/token, /oauth/revoke) The OAuth error form {"error": "...", "error_description": "..."} (RFC 6749 and RFC 7591 codes such as invalid_request, invalid_grant, invalid_client, invalid_client_metadata, invalid_redirect_uri), and 503 temporarily_unavailable where OAuth is not configured. Past the registration limit the answer is 429 rate_limited, with the rate limit headers and retry_after_seconds beside error_description. The consent page shows its errors as a page (its 429 has the same headers) and, for a known client and redirect URI, sends RFC 6749 errors back to the redirect URI.
The review page A redirect back to the page with ?error=<code>, shown as "Your decision was not recorded." and a plain-English sentence; the code is never shown. See Review page.
The partner console A redirect back to the page with ?error=<code>#result (and field=<input> when one field is at fault), shown as "Not done." and a plain-English sentence, with the code for a known one; the field gets its own message. See Partner console.

Validation errors

A body that is not JSON returns invalid_json. A field that fails its schema returns invalid_request with field set to the first bad field's path, and issues when there are more; an unknown field is reported before any other schema error. Creating a campaign without name returns:

{
  "error": {
    "code": "invalid_request",
    "message": "name: Invalid input: expected string, received undefined",
    "fix": "Correct `name` and retry. See /openapi.json for the request schema.",
    "field": "name"
  }
}

With more than one bad field, issues lists every one, so one round trip can fix them all. field, message and fix stay those of the first. Creating a campaign with neither product_code nor name returns:

{
  "error": {
    "code": "invalid_request",
    "message": "product_code: Invalid input: expected string, received undefined",
    "fix": "Correct `product_code` and retry. See /openapi.json for the request schema.",
    "field": "product_code",
    "issues": [
      { "field": "product_code", "message": "Invalid input: expected string, received undefined" },
      { "field": "name", "message": "Invalid input: expected string, received undefined" }
    ]
  }
}

issues holds at most 100 entries, and its messages never quote a value you sent. A dealer profile's invalid_profile lists its bad fields the same way, and so does a tool argument over MCP.

An empty body counts as {}. The server parses the body as JSON whatever the Content-Type, but send Content-Type: application/json.

A field the endpoint does not declare is refused, never ignored. Creating a campaign with Lob's send_date returns:

{
  "error": {
    "code": "invalid_request",
    "message": "Unknown field `send_date`: unknown fields are refused, not ignored.",
    "fix": "Send `requested_mail_date` instead of `send_date` (YYYY-MM-DD). Accepted: dealer_id, product_code, name, requested_mail_date, envelope, external_ref, metadata. Then retry. See /openapi.json for the request schema.",
    "field": "send_date"
  }
}

HTTP statuses

Status Meaning
400 The request is wrong. Change it.
401 Missing or invalid API key. Every key failure (malformed, unknown, revoked) gives the same 401.
403 Not allowed for this key or partner.
404 Not found for this key's partner and mode. Another partner's ids also answer 404, never 403, and so does a dealer outside a limited key's list.
405 The path exists but does not serve this method (method_not_allowed). The Allow header lists the methods it serves.
409 Refused in the campaign's current state (or a dealer external_id already in use, or a template save that conflicts with the code's earlier versions). fix says what to do first.
410 The audience files were deleted, by the retention policy or a delete request: completing that audience version again, or an ops dashboard download.
412 If-Match named a dealer profile version that is no longer current (version_conflict).
413 A logo, creative asset or CSV body, or an artwork file, is over its size limit.
415 The body's type is not one the endpoint takes (a logo or asset upload, or the CSV import), or artwork is not a PDF (or, per side, not a PNG or JPEG).
422 The file, the logo, the creative asset, the creative or a template you are saving failed checks, or artwork could not be fetched or read.
429 A limit was reached: AI copy calls per day, or renders per hour (render_proof, template and artwork previews together), for one dealer or for the partner, or another limit named in the table below (Rate limits). The message names the limit, its number and when it resets, and Retry-After and retry_after_seconds say how long to wait.
500 A failure on Xcel's side. Retry with the same request; if it persists, contact Xcel with the X-Request-Id.
502 An upstream service (email, AI copy) or the PDF renderer failed.
503 The server is not configured, or a needed service (email, logo or asset processing, UpDash, artwork URL fetching, or PDF rendering for a PDF template preview, an artwork preview or an artwork proof) is unavailable.

Every error code

Authentication and lookup

Code HTTP Returned by Meaning Fix
unauthorized 401 Every endpoint, MCP Missing, malformed, unknown or revoked key, or a key whose stored mode does not match its prefix. Send Authorization: Bearer xm_test_... or xm_live_... (on REST, or HTTP Basic with the key as the user name and an empty password). Your team's console admins create and revoke keys in the partner console (Developers, then API keys): create a new one there, or ask an admin. Without console access, get sandbox access.
not_found 404 Any endpoint with an id, any unknown /v1 path The campaign, dealer, audience, quote or creative does not exist for this partner and mode. Also a template or artwork preview's or campaign list's dealer_id that is not one of your dealers (field is dealer_id), an artwork.artwork_id that is not an id this API issues (field is artwork.artwork_id), /api/<name> when <name> is not mcp, and any /v1 path that no endpoint serves (for example POST /v1/postcards), with field: null (Unknown paths). Check the id and that you use the key (test or live) that created it. For an unknown path, follow fix.
dealer_scope_forbidden 403 Creating a dealer (POST /v1/dealers, MCP upsert_dealer), the dealer import, saving or retiring a template, changing the asset library (POST /v1/assets, PATCH and DELETE /v1/assets/{asset_id}, MCP upload_partner_asset and delete_partner_asset), every webhook route, every /v1/keys route, and changing links.website on a dealer's profile (PUT or PATCH, MCP update_dealer_profile, upsert_dealer) The key or OAuth connection is limited to certain dealers, and this action belongs to the whole partner. On a profile, field is links.website: approver domain matching reads it, and every other field stays open. A dealer outside the list answers not_found instead. Use a key for every dealer. On a profile, you can also send the website on file instead. See Keys for one dealer.

Request format

Code HTTP Returned by Meaning Fix
invalid_json 400 Any endpoint with a body The body is not valid JSON. Send a JSON object.
invalid_request 400 Any endpoint with input, every MCP tool A field or query parameter failed validation (for example a leads_after that is not a row key, a leads_limit above 500, a date that is not ISO 8601 with a time zone, or a cursor from another list, or of a row its list no longer holds: read from the first page), or a creative request sent other than exactly one of template_code, html and artwork (or template_version without template_code, or copy or a brief with artwork), or a copy key is not a valid slot name, or a template save has a bad slot (field is slots.<n>.<field>) or a field a template cannot declare (compliance, regions), or upload_audience got column_map on its first call, or source_url beside uploaded_audience_id or include_suppression_list. Over MCP, a tool argument that fails its schema (field names the argument). An unknown field is refused, never ignored: a body field, query parameter or MCP tool argument that the endpoint does not declare, at any depth (brief.offer_ends), answers invalid_request with field set to it and a message such as "Unknown field send_date: unknown fields are refused, not ignored." The fix names the field meant for common names from Lob and other mail APIs (send_date and mail_date to requested_mail_date, template_id to template_code, merge_variables to copy, mail_type to mail_class, after to starting_after), says where a value goes when this request cannot take it (to is the audience, from the dealer's profile, metadata is set on create), suggests the right spelling for a near miss (dealerId, requested_mail_dat), and lists the fields the request takes. When a request has both an unknown field and another schema error, the unknown field is reported first. Correct field, or follow fix. See /openapi.json, or the tool's input schema in tools/list.
method_not_allowed 405 Any /v1 path The path exists but does not serve this method. No key is needed. Use a method from the Allow header; fix names it, or names where the job lives.
key_limit_reached 409 POST /v1/keys 1,000 limited keys are already active in this mode. Revoke one with DELETE /v1/keys/{id}.
invalid_dealer_scope 400 POST /v1/keys dealer_ids names a dealer that is not yours, or a test dealer on a live key. An empty list or more than 100 is invalid_request. Name 1 to 100 of your dealers.
key_for_every_dealer 403 DELETE /v1/keys/{id} This route revokes only keys limited to some dealers. Revoke a key for every dealer in the partner console.

Campaigns

Code HTTP Returned by Meaning Fix
unknown_product 400 Create campaign, list templates (GET /v1/templates?product_code=), save template, artwork upload start (POST /v1/artwork), artwork preview product_code is not a product Xcel offers: an unknown code (Unknown product_code "x".), or a product that is no longer offered (6 x 11 postcard is not offered.; the artwork upload start and preview say Unknown product_code for it too, and their fix lists the offered codes). field is product_code. Use a code from GET /v1/products.
mail_date_in_past 400 Create campaign requested_mail_date is before today (UTC). Send a future date or omit it.
mail_date_too_far 400 Create campaign requested_mail_date is more than 180 days away. Send a nearer date or omit it.
invalid_idempotency_key 400 Create campaign, save template, submit, dealer import, audience import, approval request, key create, clearing a do-not-mail list The Idempotency-Key header (or idempotency_key argument) is not 1 to 255 printable ASCII characters without spaces. MCP says invalid_request. Use a UUID.
idempotency_key_reused 409 Create campaign, save template, submit, dealer import, audience import, approval request, key create, clearing a do-not-mail list The key was used for a different request: a different create or save body, another audience file, or a key from another of these operations (one namespace covers them all). Use a new key for a new order.
idempotency_in_progress 409 Create campaign, save template, submit, dealer import, audience import, approval request, key create, clearing a do-not-mail list The first request with this key is still running. Retry in a few seconds with the same key.
campaign_locked 409 Audience, creative, artwork upload, proof, quote The campaign is submitted or later; it can no longer change. Create a new campaign. To stop a submitted order, contact Xcel ops.
campaign_changed 409 Any step that changes a campaign Another request changed the campaign at the same moment. Fetch the campaign and retry.
invalid_status_transition 409 Sandbox advance, ops dashboard, internal moves The state machine does not allow that move, for example back to an earlier production status. Fetch the campaign; next_step says what to do.

Audiences

Code HTTP Returned by Meaning Fix
audience_file_missing 409 Complete audience No file was uploaded to the signed URL. PUT the CSV (the URL lasts 2 hours), then complete again.
audience_url_unreachable 422 Audience import, upload_audience, adding to a do-not-mail list The source_url could not be fetched: a network error, a timeout (30 seconds without data), a private or local address, an unsafe URL, or an answer other than 2xx (redirects are not followed, and the message says so). field is source_url; the message never quotes the URL. No audience version is made. Use an https link that serves the file to anyone for a few minutes, with no sign-in and no redirect (a fresh presigned link), or send the CSV as the body.
audience_not_csv 415 Audience import, upload_audience, adding to a do-not-mail list The file is not a CSV: the source_url answered a web page, JSON, a PDF or another type, or the bytes are a zip or .xlsx, a legacy .xls, a PDF, gzip, UTF-16 text or another binary file, or an HTML or XML page. field is source_url, or null for a body. No audience version is made. Export the list as CSV (UTF-8). For a page, use a link that serves the file itself.
audience_fetch_unavailable 503 Audience import, upload_audience This server cannot fetch URLs. Send the CSV as the body, or use the signed upload.
audience_superseded 409 Complete audience A newer upload was started for this campaign, or the version was already processed again with another column_map (the fix names the newest audience_id). Complete the newest upload.
audience_purged 410 Complete or import audience, or a proof, quote, approval request or submit already under way when a delete lands The retention job or a delete request deleted this version's files, so it cannot be processed, printed or quoted. After the delete, the campaign has no audience, so those calls answer 409 audience_required or proof_required instead. Upload the file again as a new audience.
column_map_invalid 422 Complete audience column_map names a column the file lacks (the fix lists the file's headers, unless the first row looks like a customer), maps two columns to one, names a column twice, maps onto a column the file already has, or maps to a reserved or unusable name. field is column_map.<key>. The version stays awaiting_upload. Correct the map and complete the same audience_id again. See Column mapping.
audience_missing_columns 422 Complete or import audience Required columns are missing; field lists them, and the fix lists the file's headers. city and state count only when the file has no zip column, since the ZIP fills them. Add them in a new export, or, where the fix proposes one, complete the same audience_id again with its column_map. A whole-name column needs no change: the intake splits it.
audience_file_invalid 422 Complete or import audience Empty file or header, duplicate column, more than 50 custom columns or 500 columns in all, an unusable custom column name, a reserved column (ResponseCode, response_code or row_key: the Mail API adds each row's key itself), or an unclosed quote. A column problem: complete the same audience_id again with a column_map that renames it. Otherwise fix the file and start a new upload. Send your own record id as external_id.
audience_too_large 422 Complete or import audience More than 250,000 data rows, or a source_url file over 50 MB. Split the audience across campaigns.
suppression_missing_columns 422 Complete audience, add to a do-not-mail list The suppression list lacks address1, or lacks zip while its address1 does not hold whole addresses. Add them and start a new upload.
suppression_file_invalid 422 Complete audience, add to a do-not-mail list The suppression list is empty, has no header, repeats a column or has more than 500 columns. Fix it and start a new upload.
suppression_list_full 422 Add to a do-not-mail list The file could take the list past 1,000,000 entries, or 100,000 on a test key. Nothing was added. Send fewer rows, or clear the list and send it again.
suppression_list_unavailable 503 Complete or import audience, the dealer's do-not-mail list The dealer's lasting do-not-mail list exists and this server cannot read it, so the request changed nothing and nothing was mailed past the list. Retry in a few minutes. If it goes on, contact Xcel.
audience_in_production 409 Delete an audience This version is the file of a submitted order not yet completed or cancelled. Delete it once the order is completed or cancelled. To stop the order, contact Xcel.
audience_required 409 Proof, quote The campaign has no completed audience. Upload and complete one.
audience_empty 409 Quote The audience has no mailable rows. Upload an audience with at least one mailable row.

When an import stores the file and then refuses it (audience_missing_columns, audience_file_invalid, column_map_invalid and the rest), the fix ends by naming the audience_id it was stored as: complete that id with a column_map, with no new import.

Row-level problems are not errors. They appear as reason codes in the reconciliation report; see Audiences.

Creative and proof

Code HTTP Returned by Meaning Fix
unknown_template 400 on POST .../creative, 404 on /v1/templates/{code}, its preview, versions and retire Creative, templates The template code is unknown or retired, or another partner's saved template, or (templates endpoints) its product is not offered. A saved template also answers this to a key limited to some dealers: it needs a key for every dealer. Use a template from GET /v1/templates.
template_product_mismatch 400 Creative The template is for another product. Use a template for this campaign's product.
locked_field 400 Creative, template preview The request tried to set a locked value: a brand or dealer object, or a copy key that contains a dot, names a brand field (logo, logo_url, primary_color, secondary_color, accent_color, primary_ink, secondary_ink, accent_ink, primary_text, secondary_text, accent_text, disclaimers, phone) or starts with brand, dealer, recipient or fcra. Remove it. Change the logo, colors, phone, name or address in the dealer profile (Dealers); ask Xcel to change disclosures. The FCRA notices cannot be changed.
creative_required 409 Proof, quote The campaign has no creative. Call generate_creative.
preflight_failed 422 Proof, request approval The creative has preflight errors. message and fix describe the first. Fix it; validate_campaign lists all.
ai_copy_unavailable 503 Creative with a brief AI copy is not configured on the server. Nothing was stored. Send your own copy without a brief, or ask Xcel to enable AI copy.
ai_copy_rate_limited 429 Creative with a brief The campaign's dealer used its AI copy calls for the UTC day (200 by default), or the partner its ceiling across all its dealers (2,000), sandbox and live together. The message says which, its number and when it resets (midnight UTC). Nothing was stored. A key limited to some dealers that reaches the partner's ceiling gets no figures and no X-RateLimit-* headers, only when to retry. Send your own copy, or retry after the reset. Past a dealer limit, your other dealers can still use AI copy. Ask Xcel to raise your limits.
ai_copy_failed 502 Creative with a brief The model did not answer the first call. Nothing was stored. Retry in a minute, or send your own copy.
proof_render_failed 502 Proof, template preview, artwork preview PDF rendering is on and the PDF could not be printed. For a proof, the campaign did not move to proof_ready, and the creative and audience are unchanged. Retry in a minute; contact Xcel if it persists.
proof_layout_invalid 422 Proof The creative printed a different number of PDF pages than it has panels: content outside the xm-panel sections, or a panel that spills onto a second page. field is html. Put all content inside <section class="xm-panel" data-side="front|back"> elements, one per printed side, sized to fit.
proof_render_rate_limited 429 Proof, template preview, artwork preview (REST and MCP) render_proof calls, template previews and artwork previews together, sandbox and live together, reached a limit this UTC hour: the dealer's (30 renders by default; the campaign's dealer, or the preview's dealer_id) or the partner's across all its dealers (300; a preview without dealer_id counts here only). The message says which, its number and when it resets. Opening a preview link (/preview/{token}, /preview/artwork/{token}) counts nothing and never answers 429. A request refused before rendering (400, 404, 409, 413, 415, 422) counts nothing. A key limited to some dealers that reaches the partner's ceiling gets no figures and no X-RateLimit-* headers, only when to retry. Retry after the time in fix. Past a dealer limit, your other dealers can still render. Render once the creative and audience are final, and preview the copy and the art you mean to send. Ask Xcel to raise your limits.
asset_file_unavailable 502 Proof, template preview A creative asset's stored file could not be read, so nothing was rendered. Retry in a minute. If it keeps failing, upload the asset again, generate the creative and render the proof again, or contact Xcel.
pdf_unavailable 503 Template preview, artwork preview, proof PDF rendering is not enabled here, and the request needs it: a template preview with format: "pdf" (MCP document: "pdf"; field is format), an artwork preview (POST /v1/artwork/preview) with format: "pdf" (field is format), or render_proof on an artwork creative, which only a PDF proof shows (no field). An artwork preview link (/preview/artwork/{token}) answers 503 in plain text there. For a template preview, ask for html or json, or omit format. For an artwork preview, ask for json or omit format: it returns the preflight and the artwork_id, with no PDF and preview_url: null. For an artwork proof, render it on the hosted API.
artwork_not_uploaded 409 Creative, artwork preview The artwork_id has no file this request may read: the file was never PUT, the upload URL expired first, the file was deleted (uploads are kept 7 days), or the id is another campaign's, partner's or mode's. A campaign's own upload works only for that campaign; one from POST /v1/artwork for any of your campaigns and previews in its mode. An id a creative of this campaign already read keeps working from that creative's copy. field is artwork.artwork_id (or artwork.front.artwork_id, artwork.back.artwork_id). PUT the file to the upload_url from POST /v1/artwork or POST /v1/campaigns/{id}/creative/artwork, then send the id again; start a new upload if the URL expired or the file is gone.
artwork_too_large 413 Creative, artwork preview A PDF over 50 MB, a side's image over 25 MB or 64 megapixels (field artwork.front or artwork.back), or images that make a print PDF over 50 MB. Nothing was stored. Downsample images to 300 to 450 ppi at their printed size, or compress them.
artwork_not_pdf 415 Creative, artwork preview The one file (artwork.url or artwork.artwork_id) is not a PDF: the URL serves another content type, or the file has no PDF header. Nothing was stored. Send a print-ready PDF, one page per printed side. For a PNG or JPEG, send one image per side: {"artwork": {"front": {...}, "back": {...}}}.
artwork_not_image 415 Creative, artwork preview A side (artwork.front or artwork.back) is not a PNG or JPEG: the URL serves another content type, or the bytes are another format (a PDF, TIFF, WebP, GIF or SVG). field names the side. Nothing was stored. Export the side as a PNG or JPEG. A PDF goes whole, with a page per side, as artwork.url or artwork.artwork_id.
artwork_encrypted 422 Creative, artwork preview The PDF has an open password or permission restrictions, so it cannot be checked or printed. Save it without security, then send it again.
artwork_unreadable 422 Creative, artwork preview The file cannot be read: a PDF that does not parse, has no pages, or has malformed objects; or a side's image that does not decode, or a JPEG with arithmetic or lossless coding or samples other than 8-bit (field names the side). Export the art again as a print PDF (PDF/X-1a or PDF/X-4), or the image as a baseline or progressive 8-bit JPEG or a PNG.
artwork_url_unreachable 422 Creative, artwork preview An artwork URL could not be fetched: a network error, a timeout, a private or local address, an unsafe URL, or an answer other than 2xx (redirects are not followed, and the message says so). field is artwork.url (or artwork.front.url, artwork.back.url). Use an https URL on a public host that serves the file to anyone, with no redirect, or upload the file instead (POST /v1/artwork).
artwork_fetch_unavailable 503 Creative, artwork preview This server cannot fetch artwork URLs. field is the URL's. Upload the file: POST /v1/artwork (or POST /v1/campaigns/{id}/creative/artwork), PUT the file, then send its artwork_id.
artwork_missing 409 Proof The artwork creative's stored file is missing or no longer has the sha256 that preflight checked, so it is not printed. The daily job deletes the art of a campaign never submitted and idle 90 days (Retention). field is artwork. Call generate_creative again with the artwork, then render the proof.

Preflight issues themselves are not errors: they come back inside the creative's preflight.issues, with a severity of error, warning or info. An error-severity issue blocks the proof with preflight_failed; a warning does not; an info issue says what preflight could not check, and never blocks. They are listed in Creative: the content checks (slot_too_long, missing_merge_field, the warning merge_condition_column_missing and the rest), the dealer and image checks (dealer_value_missing, vehicle_value_invalid, vehicle_photo_missing, make_logo_missing, qr_value_invalid, image_field_in_copy), the conditional-block checks (merge_block_unbalanced, merge_block_invalid, merge_block_required_content), the HTML checks (script_not_allowed, active_content_not_allowed for event handlers, javascript: URLs, embedding elements and <noscript>, merge_field_in_tag for a merge field in a tag or attribute name or an unquoted attribute value, and the rest), the compliance checks (offer_disclosure_required, offer_disclosure_incomplete, offer_disclosure_slot_missing, prescreen_notice_missing, firm_offer_missing, prescreen_cra_missing, prescreen_guarantee_claim), the audience-column and QR warnings (template_columns_missing, with the column_map that fixes it when a file column looks like the missing one, and scan_prompt_without_qr, for copy that asks the reader to scan when no QR code prints), the copy warning slot_not_printed (a filled slot that a block chosen by other copy leaves out), the error audience_identifier_printed (the creative prints a record id or a contact column, which never print on mail), the store-detail check sample_store_value (Demo Motors' sample phone, web address or signer on another dealer's creative: a warning in the sandbox and in previews, an error on a live order), the error slot_not_a_choice (a slot with choices, such as the birthday pieces' handwriting, holds a value outside them), the library-offer checks (the error offer_ended and the warnings offer_ends_before_in_home, offer_not_started_at_in_home and offer_department_mismatch, for a creative made with offer_id), the warning service_offer_without_service (an offer promises service, such as "$50 toward any service" or an oil change, for a dealer whose profile shows no service department: no service hours, service phone or service scheduler link) and the logo, address and PDF checks of a proof or template preview (brand_logo_unreachable, address_abbreviated, address_line_wrapped, address_block_overflow, proof_font_substituted), and the checks of print-ready artwork (the errors artwork_page_count, artwork_page_size, artwork_font_not_embedded, artwork_active_content and artwork_page_unreadable, the warnings artwork_annotations, artwork_low_resolution, artwork_merge_field and locked_disclosure_unverified, and the info issues artwork_ink_free_areas, artwork_not_checked, artwork_brand_kit_not_applied (the art is yours and the dealer's brand kit was not applied), artwork_partly_checked and artwork_transparency_flattened; for PNG or JPEG art, artwork_page_size and artwork_low_resolution name the side in field). An artwork preview (POST /v1/artwork/preview) returns the same issues without making a creative. A missing_copy_slot for a dealer fact (a slot marked dealer_fact, or a disclosure) says only the dealer can state it: ask the person for the real value, never send a sample. A template preview returns its issues in the X-Xcel-Preflight-* headers, or in full with format: "json"; they never fail the request. brand_logo_unreachable is a warning with field brand.logo: a logo URL Xcel set could not be loaded as an https image (or, for a PDF proof, the file is over 2 MB), so the proof shows a dashed placeholder box with the dealer's name; upload the logo instead. dealer_profile_changed is a warning: the dealer's profile changed after the current creative was made, and the creative keeps printing its own profile version; generate the creative again to use the change. The compliance checks are pattern checks, not legal review.

AI copy problems are not errors either. A creative made from a brief returns ai_copy.status (ready or needs_edit) and ai_copy.issues, warnings that name each slot removed from the draft: ai_credit_terms_without_offer_terms, ai_lease_terms_not_called_lease, ai_finance_terms_called_lease, ai_unsupported_figure, ai_prescreen_language, ai_guarantee_claim, ai_merge_field_not_allowed and ai_output_invalid. See AI-written copy.

Templates

Saving, pinning and retiring your own templates (Your own templates):

Code HTTP Returned by Meaning Fix
template_invalid 422 Save template The template failed its checks with its slots' samples for Demo Motors: the cleaned HTML, the creative preflight and the template checks. Nothing was saved. The message lists up to five errors; field is the first one's (html or slots.<n>.sample). Do what the fix says for each, then save again.
template_code_reserved 400 Save template The code (with or without p_) is the code of one of Xcel's templates. field is code. Choose a code of your own.
template_product_change 409 Save template The code is saved for another product. field is product_code. Save the design under a new code, or send the code's product.
template_version_conflict 409 Save template Other saves of the same code took every version number this one tried. Retry in a moment.
template_limit_reached 409 Save template You keep 100 active saved templates, the most a partner may keep, and this save would add a code (or make a retired one active again). Nothing was saved. field is code. Retire templates you no longer use (POST /v1/templates/{code}/retire, MCP retire_template, or the partner console), or save the design as a new version of one of your codes.
template_version_limit_reached 409 Save template The code has 50 active versions, the most one code may keep. Nothing was saved. field is code. Save the design under a new code, or retire the code (all its versions) and save it again. Creatives already made from it are unchanged.
template_version_unavailable 400 Creative, template preview, get template (?version=) One of Xcel's templates was asked for a version other than its current one, or your own template has no such version that is not retired. field is template_version (version on GET /v1/templates/{code}). Omit it for the current version; list yours with GET /v1/templates/{code}/versions.
template_read_only 403 Retire template The code is one of Xcel's templates. Only your own saved templates can be retired.

A template save also reports the template checks that only a save runs, inside template_invalid or, for the warning, in the answer's preflight.issues: template_panels_invalid, template_slot_undeclared, template_slot_unused (a warning), template_prescreen_language and template_offer_terms (What is checked).

Quotes

Code HTTP Returned by Meaning Fix
mail_class_unavailable 400 Quote The product does not mail in that class. Use one of the product's mail_classes.
price_unavailable 409 Quote No price is set for this product and mail class. Contact Xcel.
product_not_offered 409 Quote, submit The campaign's product is no longer offered (the 6 x 11 postcard, the legal letter): a campaign made before it was withdrawn is never quoted or submitted. Create a new campaign with a product from GET /v1/products.
price_below_cost 500 Quote A configured price is below Xcel's cost. A configuration error at Xcel. Contact Xcel; nothing in the request needs to change.

Approvals

Code HTTP Returned by Meaning Fix
proof_required 409 Request approval The campaign is draft. Render the proof.
proof_disclosures_changed 409 Request approval Xcel changed the dealer's disclosures after the current proof was rendered, so the proof does not print the current wording. Call render_proof again; the quote stays good. Print-ready art must carry the new wording: export it again.
invalid_status 409 Request approval The campaign is approved or later. Submit it, or follow next_step.
quote_expired 409 Request approval, submit The quote expired. Get a new quote.
quote_stale 409 Request approval The quote is for an older creative or audience. Get a new quote.
max_spend_too_low 400 Request approval max_spend_cents is below the quote total. Ask the user for a figure of at least total_cents; never raise it on your own.
dealer_spend_cap_exceeded 409 Request approval, the approver's approve on the review page, submit The order would take the dealer over its monthly spend cap. At request approval nothing is sent to an approver; on the review page the approver sees plain-English text and nothing is approved; at submit it is checked again inside the submit transaction, so concurrent orders cannot both pass. A quote and validate_campaign show what is left (dealer_spend_remaining_cents). Reduce the audience and get a new quote, wait until next month, or ask Xcel to raise the dealer's spend cap.
no_registered_approver 409 Request approval (live), submit (live) The dealer has no registered approver, for example a dealer you just created. Sandbox orders and live quotes still work. field is dealer_id. Name the dealer's approver (Approvers); when they are registered, request approval again.
approver_not_registered 400 Request approval (live) approver_email is not registered for the dealer. Use one of registered_approvers, or name this person as an approver.
approver_email_required 400 Request approval (live), review page Several approvers are registered and none was named; or, on the review page, no email was entered. Name one approver; on the page, enter your email.
approval_delivery_unavailable 503 Request approval (live) Email is not configured on the server. Nothing was created. Retry later; contact Xcel if it persists.
approval_delivery_failed 502 Request approval (live) The email send failed. The new approval was expired. Retry the request.
proof_pdf_missing 409 Request approval PDF rendering is on and no PDF proof exists for the current creative and audience. Call render_proof, then request approval.

Review page

The review page's PDF (/review/{token}/proof.pdf) answers 404 "No PDF proof is available for this review link." when no PDF was rendered for the approval's versions or the audience was purged, and 409 with "Do not approve; contact the sender." when the stored print file no longer matches the approval (proof_pdf_changed). Where PDFs are rendered the page then says the proof could not be shown and offers no HTML preview instead.

These codes appear on the review page, as the outcome of a form post, and as JSON from the sandbox route POST /v1/test/campaigns/{id}/approval. The page redirects to itself with ?error=<code> and shows plain-English text for it, never the code (the text for each); the HTTP column is the status the code carries inside the service.

Code HTTP Meaning
invalid_request 400 A form field was not valid.
approver_email_required 400 No email was entered, and the link was not issued to a named approver.
confirmation_required 400 The confirmation box was not ticked.
prescreen_confirmation_required 400 A prescreened credit offer: the box confirming the list is a prescreened list from the named consumer reporting agency was not ticked (Prescreened offers).
prescreen_list_date_required 400 A prescreened credit offer: no list date was entered.
prescreen_list_date_invalid 400 The list date is not a real date, is in the future or is more than a year ago.
approver_mismatch 403 The link was issued to a different approver.
approval_stale 409 The creative, audience or quote changed after approval was requested.
approval_expired 409 The approval expired.
approval_already_decided 409 Someone already decided.
max_spend_exceeded 409 The quote total is above the approved maximum.
dealer_spend_cap_exceeded 409 Approving now would take the dealer over its monthly spend cap: other orders were submitted, or Xcel lowered the cap, after the link was sent. Nothing was approved; rejecting still works.
proof_pdf_changed 409 The stored print-ready PDF no longer matches the approval's sha256 (or is missing). The partner renders the proof again and requests a new approval.

Submit

Code HTTP Meaning
idempotency_key_required 400 No Idempotency-Key header (or idempotency_key argument). Submit and POST /v1/keys: create and the dealer import take a key optionally.
invalid_idempotency_key 400 The key is not 1 to 255 printable ASCII characters without spaces. A key starting scoped: answers invalid_request with field: "Idempotency-Key": that prefix is reserved.
idempotency_key_reused 409 The key was used for a different request.
idempotency_in_progress 409 The first request with this key is still running. Its claim lasts at most 60 seconds.
already_submitted 409 The campaign was already submitted.
approval_not_found 404 No approval with that id for this campaign.
approval_pending 409 The approver has not decided.
approval_rejected 409 The approver rejected the order.
approval_expired 409 The approval expired.
approval_stale_creative 409 The creative changed after approval.
approval_stale_audience 409 The audience changed after approval.
approval_quote_mismatch 409 The approved quote does not match the current versions.
max_spend_exceeded 409 The quote total is above the approved maximum.
campaign_not_approved 409 The campaign is not approved.
no_registered_approver 409 Live: the dealer has no approver registered by Xcel (its approvers were removed after approval).
ordering_disabled 403 Live ordering is not enabled for the partner.
dealer_spend_cap_exceeded 409 The dealer's monthly spend cap would be exceeded. Checked at request approval, when the approver approves, and again inside the submit transaction, so concurrent orders cannot both pass.
proof_pdf_changed 409 The stored print-ready PDF no longer matches the sha256 the approval recorded. Render the proof again and request approval again.

Fixes for each are in Quotes and approvals.

Billing

Code HTTP Returned by Meaning Fix
billing_not_set_up 409 Request approval (live), the approver's approve, submit (live) The order's payer has no payment method on file. At request approval nothing is sent to an approver. Add one under Billing in the console, or send the paying store's or group's billing contact a setup link (Billing).
billing_method_unverified 409 Same The payer's bank account waits for its microdeposit code. Enter the code with Verify bank account.
billing_on_hold 409 Same Xcel paused the payer's live orders after a failed payment, a dispute or a past-due invoice. Pay or replace the payment method, then ask Xcel to release the hold.
payment_method_limit_exceeded 409 Same A card would pay more than the card limit ($5,000) at submit. Pay by bank account, or reduce the audience.
credit_limit_exceeded 409 Same On terms: the order would take the payer over its credit limit. Pay open invoices, reduce the audience, or ask Xcel.
payment_failed 402 Submit (live) The card or bank declined the payment. Nothing was submitted. Update the payment method, then submit again.
payment_unavailable 502 Submit (live) Stripe could not be reached. Nothing was submitted; the order is never charged twice. Submit again in a minute.
submission_in_progress 409 Submit (live) Another request is submitting this order right now. Wait, then fetch the campaign status.
billing_unavailable 503 Submit (live), Billing in the console Payments are not set up on this deployment. Contact Xcel.

Dealers and profiles

Code HTTP Returned by Meaning Fix
logo_svg_live_text 422 Upload logo The SVG has live text (<text>). The print server has no fonts for it, so it would print as empty boxes. field is logo. Convert the text to outlines in your design tool, or upload a PNG at least 600 px on its long side.
external_id_taken 409 Create dealer You already have a dealer with that external_id (with a test key: a shared or a test dealer). Update that dealer's profile, or use another id. MCP upsert_dealer updates it for you.
test_dealer_limit_reached 409 Create dealer, import rows, upsert_dealer (test key) Your test keys already created 25 test dealers. field is external_id. Use a test dealer you have (test_only: true in GET /v1/dealers) or Demo Motors, or ask Xcel to delete some.
approver_already_registered 409 Name an approver The address is already a registered approver for the dealer. Nothing to do.
approver_pending_review 409 Name an approver The person confirmed and Xcel is checking the address. Wait for registered or declined (a dealer.updated event says which).
approver_invitations_pending_limit 409 Name an approver Three invitations of the dealer are waiting, to be confirmed or for Xcel. Wait until one is registered, declined or expired.
approver_invite_rate_limited 429 Name an approver The dealer had five approver emails today (UTC), repeats included. Try again tomorrow.
approver_email_unavailable 503 Name an approver (live) Email is not configured on the server. Nobody was invited. Retry later; contact Xcel if it persists.
approver_email_failed 502 Name an approver (live) The email could not be sent, so the invitation was withdrawn. Check the address and name the approver again.
invalid_profile 400 Create dealer, profile PUT and PATCH, import rows A profile field failed its rule, or is not a profile field. field names it, for example phones.main or hours.sales.mon. Correct it. The rules are in Dealers.
xcel_managed_field 400 Create dealer, profile writes, import The request names a field Xcel manages: approvers, disclosures, the license number, the spend cap or ordering_enabled. In an import, the column refuses the whole file. Remove it. Name approvers with POST /v1/dealers/{id}/approvers; ask Xcel to change the rest.
version_conflict 412 Profile PUT and PATCH, logo upload, asset writes (MCP: update_dealer_profile, upsert_dealer, upload_dealer_logo, upload_dealer_asset, delete_dealer_asset) If-Match (or expected_version) is not the current version. field is If-Match. Read the profile, apply your change to it and retry with its ETag.
invalid_if_match 400 Profile writes, logo upload, asset writes If-Match is not one version number. Send the ETag, for example "3", or leave it out.
profile_version_not_found 404 Get profile with version The dealer has no such version. List versions with GET .../profile/versions.
unsupported_media_type 415 Logo upload, asset upload, import, audience import, adding to a do-not-mail list The Content-Type is not one the endpoint takes. Logo or asset: the image type or JSON. Import: text/csv. Audience import or a do-not-mail list: text/csv, or JSON with source_url; never multipart.
payload_too_large 413 Logo upload, asset upload, import, audience import The body is over the limit (3 MB for a logo, 10 MB for a creative asset, 1 MB for a dealer CSV, 4.5 MB for an audience CSV; the hosted API refuses any body over 4.5 MB first). Send a smaller file, an asset by url, or an audience by source_url.
logo_too_large 413 Logo upload The logo is over 3 MB, here or at its URL. Use a smaller file.
logo_unsupported_type 415 Logo upload The file is not PNG, JPEG or SVG, judged by its content. Export it as PNG or SVG.
logo_pdf_unsupported 415 Logo upload A PDF logo, which this server cannot turn into the PNG proofs print. Upload an SVG, or a PNG at least 600 px on its long side.
logo_invalid 400 or 422 Logo upload The file is empty, cannot be read, is not base64, has more than one page (PDF), has no single root <svg>, or is over 10,000 px a side. Export the logo again.
logo_too_small 422 Logo upload A PNG or JPEG under 600 px on its long side or 100 px on its short side. Upload a larger file, or an SVG.
logo_animated 422 Logo upload An animated PNG or an animated SVG. Upload a still logo.
logo_unsafe 422 Logo upload A PDF with scripts, actions or attachments. Export a plain PDF, or upload SVG or PNG.
logo_url_unreachable 422 Logo upload by URL The URL is not https, points at a private address, redirects, times out, or did not answer 2xx. The reason is in the message. Use the final public https URL, or send the file.
logo_processing_unavailable 503 Logo upload Logo processing is not configured on the server. Retry later; contact Xcel if it persists.
asset_too_large 413 Asset upload The file is over 10 MB, here or at its URL. Inline, the hosted API's 4.5 MB body limit comes first (payload_too_large). Use a smaller file, or send it by url.
asset_unsupported_type 415 Asset upload The file is not PNG or JPEG (or SVG, for a signature), judged by its content. Export it as PNG or JPEG. Export an iPhone HEIC photo as JPEG first.
asset_invalid 400 or 422 Asset upload The file is empty, cannot be read, is not base64, is over 10,000 px a side or 64 megapixels, has no single root <svg>, or is a blank signature. Export the file again and upload it.
asset_too_small 422 Asset upload Under 100 px on its long side: a thumbnail. A larger file that is merely soft is accepted with a warning. Upload the original file.
asset_animated 422 Asset upload An animated PNG or an animated SVG. Upload a still image.
asset_url_unreachable 422 Asset upload by URL The URL is not https, points at a private address, redirects, times out, or did not answer 2xx. The reason is in the message. Use a public https URL that serves the image directly, or send the file itself.
asset_name_required 400 Asset upload and update A signature or staff photo has no person's name, and for a signature the profile has no contact name either. Send name.
asset_label_required 400 Asset upload A photo has no label. Send label, for example service_drive.
asset_label_invalid 400 Asset upload and update The label has no letters or digits. Use a short name such as service_drive.
asset_label_taken 409 Asset update, asset library update Another asset of the kind has that label, or, in the asset library, another photo. Choose another, or delete the other first. To replace a file, upload with the same kind and label.
asset_limit_reached 409 Asset upload, asset library upload The dealer has 40 assets, or the asset library 100 photos. Delete one, or replace one by uploading with the same kind and label.
asset_not_found 404 Asset read, update and delete, in a dealer's assets or the asset library The dealer, or the library, has no asset with that id. It may be deleted. List them with GET /v1/dealers/{id}/assets or GET /v1/assets.
offer_name_taken 409 Offer create and update Another offer of the dealer has that name's label. Choose another name, or change that offer.
offer_name_invalid 400 Offer create and update The name has no letters or digits. Use a short name such as Oil change special.
offer_limit_reached 409 Offer create The dealer has 50 offers. Delete one that has ended.
offer_not_found 404 Offer read, update and delete; generate_creative with offer_id The dealer has no offer with that id or label. List them with GET /v1/dealers/{id}/offers.
offer_ended 400 generate_creative with offer_id The offer's ends_on has passed. Choose a current offer, or move its end date.
offer_too_long 400 generate_creative with offer_id The offer's line or detail does not fit the template's slot. Shorten it, or choose another template.
offer_not_printed 400 generate_creative with offer_id The template has no offer slot. Choose a template with one, or leave offer_id out.
asset_processing_unavailable 503 Asset upload Asset processing is not configured on the server. Retry later; contact Xcel if it persists.
import_invalid 400 Import No header, no external_id column, a repeated column, an unclosed quote, or not UTF-8. Fix the file.
import_unknown_column 400 Import A column that is not an import column. field names it. Use the columns in Dealers.
import_too_large 413 Import Over 500 rows. A file over 1 MB is payload_too_large. Split the file.

A failed import row does not fail the request: it comes back in results with status: "failed" and an error whose code is missing_external_id, duplicate_external_id, wrong_column_count, formula_value (a cell starting with =, +, -, @, a tab or a carriage return), or one of the codes above.

Standing orders

Code HTTP Returned by Meaning Fix
standing_order_paused 409 Start a run The standing order is paused, so it starts no run. Set status to active (PATCH), then start the run.
standing_order_ended 409 Start a run, change a standing order The standing order is ended. Its runs and history stay. Create a new standing order.
standing_order_run_in_progress 409 Start a run Another run of this standing order is still building its order. Wait for it (GET /v1/standing-orders/{id}/runs), then start the next run.
standing_order_external_id_taken 409 Create a standing order Another standing order of yours that is not ended has this external_id. Use another external_id, or find that one with GET /v1/standing-orders?external_id=.
inbound_subject_taken 409 Create or change a standing order Another standing order of the dealer that is not ended has this inbound_subject, ignoring case, spacing and punctuation. Use the audience's own title, or change or end the other one (GET /v1/dealers/{id}/inbound-email lists them).
inbound_email_unavailable 503 Turn on or rotate a dealer's inbound address This server takes no emailed lists. Send each run's list to POST /v1/standing-orders/{id}/runs, or save a source_url and cadence.
inbound_no_list 422 An emailed run The email had no CSV attachment and no table with a header row in its body. Have the report attach the list as a CSV, or keep its table's header row.
inbound_list_missing_address 422 An emailed run The emailed list has no address column, so nobody on it can be mailed. Add Name and Address to the report's columns in your platform; a list small enough to arrive in the email body must carry them too.
inbound_sender_not_allowed 403 An emailed list (on standing_order.run_failed) The email came from a sender not in the dealer's senders, so no run started. Add the report's sending address, or the forwarding mailbox's @domain, with PUT /v1/dealers/{id}/inbound-email.
standing_order_changed 409 Change or end a standing order It changed while the request ran. Fetch it and retry.
run_interrupted 409 A run's error.code The run stopped before it finished, and a newer run or the daily job took its place. Start the run again. A campaign it made stays as a draft you can finish or leave.

A run that fails at a campaign step records that step's error (max_spend_too_low, preflight_failed, audience_url_unreachable, ordering_disabled and the rest of this page) on the run and answers it; see Standing orders.

Sandbox

Code HTTP Returned by Meaning Fix
test_mode_only 403 Sandbox advance (MCP advance_test_campaign) and sandbox approval A live key called the sandbox endpoint. Use your xm_test_ key. Xcel ops advance live orders.
not_in_production 409 Sandbox advance (MCP advance_test_campaign) The campaign is not submitted, or is already completed. Submit it first.

Webhooks

Code HTTP Returned by Meaning Fix
invalid_webhook_url 400 Create webhook The URL is invalid, is not https (live keys; sandbox keys may use http), embeds credentials, uses a local host name, does not resolve, or resolves to a non-public address. The message says which. Use a public URL; https:// for live keys. See Webhooks.
webhook_limit_reached 409 Create webhook The partner already has 5 active endpoints in this mode (the default limit). Reuse an endpoint (one URL can receive every event type), or deactivate one you no longer use: DELETE /v1/webhooks/{id}, or Deactivate in the partner console. A deactivated endpoint does not count.
webhook_not_found 404 Deactivate webhook, rotate secret, test ping, deliveries, replay No endpoint with that id in the key's mode: another partner's, or one in the other mode. field is id. List your endpoints with GET /v1/webhooks; a sandbox key sees only sandbox endpoints.
webhook_inactive 409 Rotate secret, test ping, replay The endpoint is deactivated. field is id. Reactivate it in the partner console (admins), then rotate its secret; or register a new endpoint. The API has no reactivate route.
webhook_test_rate_limited 429 Test ping This endpoint already had 20 test events this hour. Try again next hour.
webhook_delivery_not_found 404 Replay No delivery with that id for this endpoint. field is delivery_id. List them with GET /v1/webhooks/{id}/deliveries.
webhook_delivery_pending 409 Replay The delivery is still queued. field is delivery_id. Wait for it.
webhook_replay_rate_limited 429 Replay This endpoint already had 100 replays this hour. Try again next hour.

An event_types entry this API does not have is 400 invalid_request, with field set to it (event_types.0). For a Lob event name such as postcard.delivered the fix names the campaign events to use instead (campaign.status_changed, campaign.results_updated, campaign.lead_results_updated); for any other name it lists the event types. See Event types.

Partner console

These appear only in the partner console, as the outcome of a form. The page says "Not done.", a plain-English sentence and Code: <code>. Any other code gets a generic sentence and no code; the error is in the logs. The service's own codes (for example version_conflict, invalid_profile, the logo codes, webhook_limit_reached, invalid_webhook_url, approver_not_registered) keep their meaning from the tables above.

Code Meaning
console_role_required Your role cannot do this. Viewers read only; Developers and Team are for admins.
resend_live_only Sandbox review links go to your integration as review_url, never by email.
no_pending_approval The order has no approval waiting, so there is no link to resend.
resend_rate_limited The link for this approval was resent 3 times this hour.
logo_missing, asset_missing_file No file was chosen.
invalid_asset_kind, invalid_asset_detail The asset form's kind, or a name, title or label, is not valid.
library_name_required, invalid_library_detail The asset library form has no name, or a name, label or description that is too long.
invalid_key_label A key label must be 1 to 120 characters.
key_limit_reached This mode already has 10 active keys for every dealer, or 1,000 limited to some dealers. Revoke one first.
revoke_confirmation_required, deactivate_confirmation_required, disable_confirmation_required, retire_template_confirmation_required The request came without the confirmation the dialog sends, so nothing changed. Press the button, then confirm in the dialog.
invalid_email, invalid_role The invite's email or role is not valid.
console_user_exists That person is already on the team.
console_invite_rate_limited A new account can invite three people a day until Xcel sends its Order Form or turns on live ordering.
partner_not_activated Live billing setup links go out once Xcel has sent your Order Form. Its signer adds the payment method right after signing.
admin_dealer_scope Admins see every dealer, so they cannot be limited to some.
invalid_dealer_scope Choose at least one of your dealers, or all. For a key: every dealer must be yours, at most 100, and a live key cannot name a test dealer.
dealer_scope_forbidden A person limited to some dealers cannot make a key for every dealer, save or retire a template, change the asset library, or change a dealer's website.
cannot_change_own_role, cannot_disable_self Ask another admin.
approver_already_registered, approver_pending_review, approver_invitations_pending_limit, approver_invite_rate_limited, approver_email_unavailable, approver_email_failed The approver form: as in Dealers and profiles.

The sign-in page shows its own messages: invalid_email, rate_limited (too many requests: wait 15 minutes), unavailable (email is not configured: contact Xcel) and link_invalid (the link expired, was used or its access was removed).

A form posted from another site gets 403 "Cross-site form posts are not allowed." A form posted without a live session goes to the sign-in page.

Server

Code HTTP Meaning Fix
internal_error 500 An unexpected failure. No detail is returned. Retry with the same request. If it keeps failing, contact Xcel with the X-Request-Id.
service_unavailable 503 The server is missing its configuration. Retry later; contact Xcel if it persists.