Skip to content
Back

DeploymentStatus enum value `canceled` missing for the SDK (Dart)

  • 0
  • Self Hosted
  • Functions
Namaneo
22 Jan, 2026, 17:50

Hey,

Sorry if it has been reported already, I found an issue using the Dart SDK where the canceled enum value is missing from DeploymentStatus. This causes any call to listDeployments to fail when using Dart because it can't find the corresponding enum value (see attached screenshot for the exact error location).

The workaround is to use a query to exclude this type (e.g. Query.notEqual('status', 'canceled')), but it would be neat to be able to delete those deployments as well using the SDK.

I don't know how active is being deduced in the UI, but this may be missing as well there. I'd gladly contribute but I'm not sure where to look at to open a PR.

See: https://github.com/appwrite/sdk-for-dart/blob/main/lib/src/enums/deployment_status.dart

Thanks for any help!

TL;DR
Issue: `canceled` enum value missing from `DeploymentStatus` in Dart SDK causing `listDeployments` to fail. Workaround is to exclude `canceled` using a query. Suggestion to be able to delete `canceled` deployments using the SDK. Uncertain how to contribute via PR. Solution: Add `canceled` enum value to `DeploymentStatus` in the Dart SDK.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more