# TEMPORARY_ENVIRONMENT_LIMIT_EXCEEDED

- Surface: API
- HTTP status: 409
- Recommended action: `DELETE_TEMPORARY_ENVIRONMENT`
- Details: `{ appId: string, limit: number, active: number, nextExpiresAt: string, recommendedAction: "DELETE_TEMPORARY_ENVIRONMENT" }`

## Remediation

Delete an unused live Temporary Environment or wait until details.nextExpiresAt

## Cause

The App has reached its limit of unexpired Temporary Environments.

## Fix

Delete an unused live Temporary Environment or wait until `details.nextExpiresAt`, then retry creation. Expired Environments awaiting teardown do not count toward the live limit.

## Related

- [ENVIRONMENT_EXPIRED](https://splitch.dev/docs/error/ENVIRONMENT_EXPIRED)
- [SYNC_LIMIT_EXCEEDED](https://splitch.dev/docs/error/SYNC_LIMIT_EXCEEDED)

Source: https://splitch.dev/docs/error/TEMPORARY_ENVIRONMENT_LIMIT_EXCEEDED