Skip to main content

Conflict

Code

  • code: conflict
  • status: 409
  • url: https://developers.glean.com/errors/conflict

What It Means

The request conflicts with the current state of the resource.

Common Causes

  • The resource already exists.
  • The requested update is stale or conflicts with another change.
  • The operation cannot be completed while the resource is in its current state.

How To Resolve

Client Actions

  • Fetch the latest resource state before retrying the change.
  • Adjust the request so it no longer conflicts with existing data.

Retry Guidance

Retrying unchanged may continue to fail. Retry after reconciling state.

Example Response

{
"type": "https://developers.glean.com/errors/conflict",
"title": "Conflict",
"status": 409,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "conflict",
"documentation_url": "https://developers.glean.com/errors/conflict",
"request_id": "req_7f8a9b0c1d2e"
}