Skip to content
Last updated

Conflict

HTTP Status: 409 Conflict
RFC Reference: RFC 9110 Section 15.5.10

The request conflicts with the current state of the resource.

Response

{
  "type": "https://docs.apiera.io/problems/conflict",
  "title": "Conflict",
  "status": 409,
  "detail": "The request conflicts with the current state of the resource.",
  "instance": "/v1/products",
  "correlationId": "550e8400-e29b-41d4-a716-446655440000"
}

Common Causes

  • Duplicate resource (e.g., SKU already exists)
  • Resource state prevents the operation
  • Concurrent modification conflict

How to Fix

  • Use a unique identifier
  • Refresh resource state before retrying
  • Check for existing resources before creating new ones