Skip to content
Back

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

  • 0
  • 2
  • 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
DeploymentStatus enum value `canceled` is missing in the SDK (Dart) for appwrite. User updated and tested a fix found at https://github.com/appwrite/appwrite/pull/11179 and it now works fine.
23 Jan, 2026, 00:28

thanks for pointing this out <@275386356958625792> , looks like it indeed is missing from the list, perhaps from all the sdks

can you please create a github issue for this on appwrite/appwrite for easier tracking?

17 Feb, 2026, 10:18

Updated and tried this morning, works fine now, thanks!

1
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