Skip to content

Event Forwarding Destination Name Immutable

URI: https://docs.ankatech.co/errors/event-forwarding-destination-name-immutable
HTTP Status: 409 Conflict

When you see this

A replace of an event-forwarding destination (replacePlatformDestination on the deployment plane, replaceDestination on a tenant's) sent a name that differs from the destination's stored name. A destination's name is its key: the security event forwarder records it on every dead letter, replays a dead letter to the destination of that name, and files delivery failures under it. Renaming a destination in place would leave every dead letter already queued for it naming no destination, so the name cannot change after create, and nothing is written.

The label an administrator sees is displayName, which any replace may set, change or clear. A replace that sends the stored name unchanged proceeds.

The check runs after the destination is found on the caller's plane, so a destination the caller cannot reach answers Not Found whatever name the request carries.

Common Causes

  • An edit form let the operator retype the destination's name to relabel it.
  • A client built the replace body from a different destination, or from its own naming scheme, rather than from the read of this one.

Response Example

{
  "type": "https://docs.ankatech.co/errors/event-forwarding-destination-name-immutable",
  "title": "Event Forwarding Destination Name Immutable",
  "status": 409,
  "detail": "A destination's name is its key and cannot be changed; set displayName instead.",
  "instance": "/api/v3/admin/platform/event-forwarding/destinations/0b6f3e2a-71c4-4d98-b5a0-8e1f2c3d4a57",
  "timestamp": 1790000000,
  "extensions": {
    "requestId": "9a4d2c7e-1f83-4b56-8e0a-3c7b5d1f9e24"
  }
}

Content-Type: application/problem+json — the response follows RFC 9457 Problem Details.

How to Resolve

  1. To change what administrators see, repeat the replace with the stored name and the new displayName.
  2. If the destination must really carry another key, create a destination under the new name, wait until the old destination's dead letters are replayed or drained, then delete the old one.

For full schema definitions, examples, and interactive testing, see the Developer Hub Reference.