Skip to content

SKU matches two products

HTTP 409sku_ambiguous

When the API answers 409 sku_ambiguous, and how to fix it.

Version v1.1, updated

The type field of every sku_ambiguous response links to this page.

On this page

A reference by sku matches a goods item and a finished product that share this SKU. BIRP cannot tell which one you mean.

At a glance

  • Status: 409 Conflict

  • Code: sku_ambiguous

  • Retry: No. Fix the cause first: the same request gets the same answer.

Causes and fixes

Likely cause

How to fix it

A goods item and a finished product have the same SKU.

Add kind to the reference, such as {"sku": "SP-FLOUR-25", "kind": "goods"}, or reference the product by id.

Example

409 sku_ambiguousJSON
{
  "code": "sku_ambiguous",
  "detail": "The SKU matches a goods item and a finished product. Add kind to the reference.",
  "errors": [
    {
      "field": "lines[0].product",
      "message": "matches a goods item and a finished product; add kind"
    }
  ],
  "instance": "/v1/orders",
  "request_id": "a1b2c3d4-0000-4000-8000-0000000000ee",
  "status": 409,
  "title": "SKU matches two products",
  "type": "https://birp.io/developers/errors/sku_ambiguous"
}
  • references-and-external-ids
  • sku-taken
  • products