Skip to main content
1

CANCELLED

ActiveHTTP 499

The operation was cancelled, typically by the caller. CANCELLED is usually triggered by the client calling Cancel() on the context, or a deadline/timeout expiring before completion.

Description

CANCELLED is returned when the client cancels the RPC, usually via context cancellation. It differs from DEADLINE_EXCEEDED in that the cancellation was explicit rather than due to a timeout.

Common causes

  • Client called context.Cancel()
  • Client disconnected
  • Load balancer terminated the connection

HTTP equivalent

HTTP 499 – View status code reference →