Skip to main content
6

ALREADY_EXISTS

ActiveHTTP 409

The entity that a client attempted to create already exists. This is typically returned for create-or-fail operations when the resource already exists and the operation is not idempotent.

Description

ALREADY_EXISTS is returned when a create operation fails because the resource already exists. Use this for strict create operations – if the intent is create-or-update, return success instead.

Common causes

  • Duplicate key on unique field
  • Attempting to create a resource that already exists
  • Conflicting resource creation

HTTP equivalent

HTTP 409 – View status code reference →