Banner & BoothDocs

Errors

Every Banner & Booth API error code with its HTTP status, cause and fix, plus MCP and CLI error formats and retry guidance.

Format

Errors return an HTTP status and a JSON body:

{
  "error": {
    "code": "unsupported_destination",
    "message": "Orders through the API ship to the lower 48 states and DC only.",
    "hint": "Use POST /v1/quotes for Alaska, Hawaii and international shipping.",
    "docs": "https://docs.bannerandbooth.com/reference/errors#unsupported_destination"
  }
}
FieldAlways presentDescription
codeyesStable, snake_case. Branch on this.
messageyesA sentence for humans. Wording can change.
hintnoWhat to do next.
docsnoA link to the code's section on this page.

Branch on error.code, not the HTTP status or the message. A few codes can come with more than one status (for example unknown_sku is 422 on order endpoints and 400 on /v1/cart-link).

Summary

CodeStatusRetry?Meaning
bad_json400After fixingBody isn't valid JSON.
invalid_request400After fixingA field is missing or invalid.
bad_items400After fixingitems is missing or malformed (cart links).
missing_target400After fixingPreflight has no SKU and no target size.
bad_email400After fixingQuote request email isn't valid.
missing_details400After fixingQuote request details too short.
unauthorized401After fixingMissing or wrong order key.
not_found404NoNo such product, venue, order, proof or route.
method_not_allowed405After fixingWrong HTTP method.
conflict409NoThe order's state doesn't allow this.
too_large413Use the two-step uploadOne-shot upload over 100 MB.
unsupported_destination422NoAddress outside the lower 48 + DC.
unknown_sku422 / 400After fixingA SKU doesn't exist, or isn't on this order.
rate_limited429Yes, after Retry-AfterToo many requests.
internal_error500Yes, with backoffUnexpected server error.
upstream_error502Yes, same Idempotency-KeyShopify unavailable.
unavailable503Yes, after a minuteOrder storage or file storage briefly unavailable.

Codes

bad_json

400. The request body isn't valid JSON.

Fix: Send a JSON body with Content-Type: application/json. In shell, check quoting: single-quote the whole -d '...' body, or build it with jq -n.

invalid_request

400. A field is missing, has the wrong type, or is out of range. Common causes:

  • items empty, more than 25 lines, or a quantity outside 1-500.
  • No valid email on a live order ("email is required for live orders.").
  • shipping_speed other than ground or 2nd_day_air.
  • shipping_address missing address1, city or zip, or a ZIP that isn't 5 digits.
  • A malformed show.date (must be YYYY-MM-DD).
  • notify_url that isn't an https URL.
  • changes outside 5-2,000 characters on request-changes.
  • PATCH with no recognized field ("Nothing to change.").
  • A design brief with no logo, headline or notes.
  • show.ship_to other than advance_warehouse, show_site or address, or a malformed show.warehouse_deadline.
  • Artwork upload with no Content-Length, an unsupported extension in filename, or no sku when several lines need artwork.
  • Two-step upload size missing or over 500 MB, or bytes that don't match the declared size.
  • An unknown event on simulate.

Fix: Read message and hint; they name the field. Correct it and resend.

bad_items

400. /v1/cart-link, create_cart_url or /c/{items} couldn't read items.

Fix: Send items as [{"sku":"BB-KIT-1010A","quantity":1}] in JSON, or BB-KIT-1010A:1,BB-TT-6FIT:2 in a query string or /c/ path. 1-25 lines.

missing_target

400. /v1/artwork/preflight got neither a sku nor target_width_in and target_height_in.

Fix: Pass a SKU, or the visible print size in inches.

bad_email

400. /v1/quotes got a contact_email that isn't a valid address.

Fix: Use the buyer's real email, with their consent to share it.

missing_details

400. /v1/quotes got details shorter than 10 characters.

Fix: Describe the request: items, sizes, quantities, dates and needs such as PO or tax-exempt.

unauthorized

401. The call needs an order key and the Authorization header (or the MCP order_key argument) is missing, malformed, or belongs to a different order.

Fix:

  • Send Authorization: Bearer bbk_..., using the key from this order's create (or reorder) response. Only the header works; a key in the query string is ignored.
  • In shell, use double quotes so the variable expands: -H "Authorization: Bearer $BB_ORDER_KEY". With single quotes the literal text $BB_ORDER_KEY is sent.
  • Check that BB_ORDER_ID and BB_ORDER_KEY are from the same order. Test keys (bbk_test_) only work on test orders.
  • If the key is lost, email support@bannerandbooth.com from the order's email address with the order id.

not_found

404. The product, venue, order, proof or route doesn't exist.

Fix:

  • Products: find the SKU with GET /v1/products?q=.... SKUs look like BB-KIT-1010A.
  • Venues: GET /v1/venues for slugs.
  • Orders: check the id, including the bbo_test_ prefix on test orders.
  • Proofs: GET /v1/orders/{id}/proofs for ids. latest returns "There is no proof waiting for review." when nothing is pending: wait for a proof, or check whether it was already decided.
  • Uploads: an unknown or expired two-step upload URL or artwork_id. Start the upload again.
  • Design briefs: a logo_artwork_id that isn't on this order.
  • Print templates: GET /v1/products/{sku}/template.svg for an item without a fixed print size (canopies, blank hardware). The hint explains the alternative.
  • Routes: see the API reference.

method_not_allowed

405. Wrong HTTP method, for example GET /v1/quotes.

Fix: Use the method shown in the API reference.

conflict

409. The request is valid, but the order's current state doesn't allow it. Common causes:

  • Cancelling a paid order.
  • Changing (PATCH) a paid or cancelled order.
  • Uploading artwork or sending a design brief once the order is in production, shipped, delivered or cancelled ("artwork can't change now").
  • Getting a payment link or deciding a proof on a cancelled order.
  • Approving or requesting changes on a proof that's already decided or superseded.
  • Reusing an Idempotency-Key with a different request body.
  • Completing a two-step upload before the bytes (or every part) arrived, or completing it twice.
  • Simulating on a live order.

Fix: GET /v1/orders/{id} and follow next_actions. For idempotency conflicts, use a new key for a genuinely new order, or resend the exact original body. For paid orders, email support@bannerandbooth.com.

too_large

413. A one-shot PUT /v1/orders/{id}/artwork was over 100 MB.

Fix: Use the two-step upload: POST /v1/orders/{id}/artwork with sku, filename and size, then PUT to the returned URL. Or run bannerbooth order upload, which picks the method for you. See Artwork: two-step upload.

unsupported_destination

422. The shipping address is outside the lower 48 states and DC: Alaska, Hawaii, a U.S. territory, APO/FPO, or another country.

Fix: Don't retry with the same address. Send a B2B request with POST /v1/quotes so the team can quote shipping, or ship to a lower-48 address. See B2B.

unknown_sku

422 on order endpoints, 400 on cart links. One or more SKUs don't exist (the message lists them), or an artwork upload named a SKU that isn't on this order ("BB-KIT-1010A is not on this order.", with the order's SKUs in hint).

Fix: Search with GET /v1/products?q=... or search_displays and use the exact sku from the result. Don't construct SKUs. For uploads, use a SKU from the order's lines.

rate_limited

429. Too many requests. The response has a Retry-After header in seconds.

Fix: Wait for Retry-After, then retry. On order creation and uploads the limits are hourly, so Retry-After is 3600. Limits are in Limits. For quote requests over the limit, email support@bannerandbooth.com directly.

internal_error

500. Something failed on Banner & Booth's side. The message is "Something went wrong on our side."

Fix: Retry with backoff. For POST /v1/orders, retry with the same Idempotency-Key. If it keeps failing, email support@bannerandbooth.com with the time, the endpoint and the order id if you have one.

upstream_error

502. Shopify, which holds live orders and payments, didn't respond.

Fix: Retry with backoff (for example after 2, 4, 8 and 16 seconds). For POST /v1/orders, retry with the same Idempotency-Key and body: it's safe and can't create a duplicate.

unavailable

503. Order storage or file storage is briefly unavailable.

Fix: Retry after a minute. Use the same Idempotency-Key on creates.

MCP errors

Tool failures come back as a normal tool result with isError: true and the code in structuredContent.error:

{ "content": [{ "type": "text", "text": "{\"error\":\"unknown_sku\",\"message\":\"Unknown sku(s): BB-NOPE. Use search_displays or get_display to find valid skus.\"}" }],
  "structuredContent": { "error": "unknown_sku", "message": "Unknown sku(s): BB-NOPE. Use search_displays or get_display to find valid skus." },
  "isError": true }

The codes are the same as REST. One MCP-only code:

CodeMeaningFix
tool_failedThe tool threw an unexpected error.Retry once. If it repeats, use the REST endpoint or email support@bannerandbooth.com with the arguments.

Protocol errors (unknown tool, bad JSON-RPC) use JSON-RPC error codes. See MCP reference: errors.

CLI errors

The CLI prints {"error":{"code":"...","message":"..."}} on stderr and exits non-zero. API errors keep the API's code. CLI-only codes:

CodeExitMeaning
usage1Missing argument, unknown command, or no key found for an order. Run bannerbooth <command> --schema.
confirm_required1Live order create or order reorder without --yes. For create, the error JSON includes the quote; show it to the buyer, then re-run with --yes.
upload_failed2Uploading the file or a part to the upload URL failed. Re-run order upload.
file1The file can't be read.
unsupported_file1Not PNG, JPEG, TIFF, PSD, PDF, AI, EPS or SVG.
network2The API couldn't be reached.
http_<status>2 or 3An API error with no JSON body.
unexpected2A bug. Report it to support@bannerandbooth.com.

A preflight FAIL isn't an error: the result prints on stdout and the exit code is 4. See CLI reference: exit codes.

Retry guidance

SituationDo
4xx other than 429Don't retry unchanged. Fix the request.
429Wait Retry-After seconds.
500, 502, 503, timeouts, connection resetsRetry with exponential backoff. On create, reuse the Idempotency-Key.
Any error after a create you can't confirmRetry the create with the same key and body. You'll get the original order back if it was created.