← Back to product·Simulmedia VAMOS® Docs·Operate / Errors
Operate

Errors

Every failure carries one structured object: {error_code, error_message, stage, recoverable, details}. The same five-field envelope appears on synchronous error responses and on failed and rejected events. Switch on the code; messages are for humans.

CodeMeaning
INVALID_INPUTOrder failed validation (async path; synchronous problems return 422)
PARSE_FAILEDDocument workflow: the file could not be interpreted
CURSOR_EXPIRED410: the after cursor on the event feed predates your retained stream. Sweep the order book, replay per order, then resume from a fresh feed read.
STALE_RATE_CARDYour rate version is behind; the rate_drift diff lists your_cost vs current_cost per line. Refresh and resubmit.
INVENTORY_UNAVAILABLEThe requested periods lack availability (the only legitimate business rejection on price-valid orders).
GRAIN_NOT_OFFERED422: a line named a grain it cannot book. details.product_id and details.grain name what was asked for, and details.grains lists what the seller sells. Two causes share the code: the product does not sell that grain, or the buyer's agreement narrows it. details.permitted_grains is present only in the second case.
GRAIN_CONFLICT409: catalog ingest rejected a product that offers the month grain while its card prices some month non-uniformly. The conflict report names the product and the month; nothing from the update is applied.
DUPLICATE_EXTERNAL_REF422: an external_ref this seller already holds was reused. The refusal names what it collided with. On a registry record it names the record that holds it (details.advertiser_id, details.campaign_id, or details.creative_id). On a relationship record it names the colliding record (details.agreement_id, details.buyer). On a catalog publish it names both products (details.product_ids) and refuses the whole request: the check runs on the catalog the update would produce, so it catches two new entries sharing a ref as well as one colliding with a product carried forward. Nothing publishes and the taxonomy_version does not become current.
UNKNOWN_ADVERTISER422: an advertiser_id that names no advertiser in the calling buyer's own registry, whether on an order's buyer_metadata, a campaign, or a creative. One answer for foreign and never-minted alike: a refusal that distinguished the two would confirm that another buyer holds the id. details.advertiser_id echoes what was sent.
UNKNOWN_CAMPAIGN422: the same, for an order's buyer_metadata.campaign_id.
UNKNOWN_CREATIVE422: the same, for a line's creative_id or an entry in its creative_splits. details.field names the line.
REFERENCE_ARCHIVED422: a new reference to an archived registry record: an order create, a revision adding a line or a split, or a campaign or creative created under an archived advertiser. details names the object and the id. New only: an order that already cites the record keeps resolving it, and a revision carries forward what its predecessor referenced.
CREATIVE_LENGTH_MISMATCH422: a line whose spot_length differs from the stated length_seconds of the creative it references. details names the line, the creative, and both figures. Checked at the write that persists the reference, not deferred to placed. A creative that states no length is checked against nothing.
OFFERS_NOT_ACCEPTED422: a line carried an offer on a buy type that doesn't take offers from you. details.product_id and details.buy_type name the line, and details.reason says why: not_offered (the seller doesn't take offers there), pricing_not_published (you don't see a published price), unpriced_not_offered (the product takes no offers where it has no listed rate), or adapter (the seller's integration can't carry offers). Remove the offer to book at the listed rate.
OFFER_EXPIRED409: a seller tried to accept an offer after its expires_at. Nothing changed, and the body carries the order as it stands. The seller can still reject or counter.
DUPLICATE_DISCLOSURE_OVERRIDE422: a relationship's disclosure_overrides named one product_id twice. details.product_id names it. "*" is a distinct key and does not collide with a named entry.
TENANT_MISMATCH403: the buyer_entity in your create body disagrees with the acting buyer your credential resolves to. The platform does not book under the resolved tenant when you asserted a different one. Send no buyer_entity and it is filled in for you. See acting-buyer identity.
OUTSIDE_RATE_CARDRequested combination is not on the applicable card
SELLER_REJECTEDThe seller's approver declined (reason persisted and surfaced)
BUYER_REJECTED_INTENTYou rejected at confirmation; surfaces as canceled
CREDIT_LIMITCleared trades only: the order would breach a credit or exposure cap; fails fast at create, before anything books
PLACEMENT_FAILEDThe booking write into the seller's traffic system failed, so the order did not reach placed; ops is on it
INTERNAL_ERROROur fault; the audit trail will say where
CONFLICT409: the same external_order_id, taxonomy_version, or rate-card commit was reused with different content, or a second PUT on an upload that already has bytes. Byte-identical resubmission replays instead.
INVALID_STATE409: the action is not valid in the order's current state (an accept with no standing counter, a plan on a non-proposal order, a patch on a quote commit). Carries the authoritative status and last_seq where an order is involved.
NOT_FOUND404: the order, upload, agreement, commit, or registry record is not within your credentials. A record another tenant owns answers the same way as one that never existed.
FORBIDDEN403: the seller has suspended your acting buyer, or runs an allowlist you are not on. See the tenant roster.
AVAILS_WITHHELD409: the product's avails policy is withheld; next points to the proposal path.
INVALID_ENTRYEntry-level, in errors[] on a 200 publish: a malformed product, rate entry, or avail entry. The valid entries still publish.
UNKNOWN_PRODUCT_IDEntry-level, in errors[]: a rate or avail entry names a product not in your published catalog.

Two codes appear in warnings[] rather than as errors. The request succeeded; the warning names something worth knowing.

CodeMeaning
DATE_GRAIN_AVAILS_MISSINGOn a 201 create: a day-grain line names a date the seller has published no day-grain avail for. See day-locked buys.
UNPRICED_DECLARATIONOn a catalog commit: a declared spot_length, buy_type, advertiser_class, or currency has no rate entry on the live card. See unpriced declarations.
Per the price-clearance invariant, a rate mismatch on matching versions is a VAMOS defect, not your error; it pages us.