Skip to content

Product kind mismatch

HTTP 409kind_mismatch

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

Version v1.1, updated

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

On this page

The external id is linked to a product of another kind than the one in the body. The kind of a product never changes.

At a glance

  • Status: 409 Conflict

  • Code: kind_mismatch

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

Causes and fixes

Likely cause

How to fix it

The body sends the wrong kind.

Send the kind of the linked product, as GET /v1/products?source=...&external_id=... returns it.

The article really changed kind in your system.

Remove the link of the external id from the old product, then create the new product with it.

Example

409 kind_mismatchJSON
{
  "code": "kind_mismatch",
  "detail": "The product mapped to this external id is of another kind. The kind of a product never changes.",
  "instance": "/v1/products/external/woocommerce/1042",
  "request_id": "a1b2c3d4-0000-4000-8000-0000000000ee",
  "status": 409,
  "title": "Product kind mismatch",
  "type": "https://birp.io/developers/errors/kind_mismatch"
}
  • sync-products
  • external-references
  • products