Skip to content

deleteService mutation returns Internal Server Error for SUSPENDED services #205

@Raymondhou0917

Description

@Raymondhou0917

Bug Description

Both the CLI service delete command and the GraphQL deleteService(_id) mutation fail with Internal Server Error when the target service is in SUSPENDED state.

Steps to Reproduce

# Service is SUSPENDED (e.g., from crash loop)
npx zeabur@latest service delete --id <suspended-service-id> -y -i=false
# ERROR: delete service failed: Message: Internal Server Error

GraphQL API also fails:

mutation { deleteService(_id: "<suspended-service-id>") }
# Returns: {"errors":[{"message":"Internal Server Error"}]}

Expected: SUSPENDED services should be deletable
Actual: Internal Server Error

Workaround

Delete from Dashboard UI (which works), or wait for the service to transition out of SUSPENDED state.

Environment

  • CLI version: 0.14.0
  • Dedicated server: Linode_2v (Tokyo)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions