---
title: "E08002 — LastWorkspace"
description: "Cannot delete the only workspace in the organization."
canonical: "https://bird.com/docs/api/errors/E08002"
---

# E08002 — LastWorkspace

Cannot delete the only workspace in the organization.

- **HTTP status**: `409`
- **Type**: `conflict_error`
- **Name**: `LastWorkspace`

## What to do

The request conflicts with the current state of the resource, including idempotency conflicts (`E01004`, `E01005`). Fetch the resource's current state and reconcile before retrying. For idempotency conflicts, reuse the original request body with the original key, or mint a new key for a genuinely new request.

## Related

- [Idempotency](/docs/api/idempotency): safe retries and key reuse rules
- [E08xxx — Workspace & organization management](/docs/api/errors/E08xxx): every code in this range
- [Errors](/docs/api/errors): the full wire contract, status mapping, and error catalog
- [Error handling](/docs/guides/errors): branching on `type` and `code`, validation details, and `vendor_code`

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
