Hi everyone - I need some help. I have somehow cre...
# ask-community
m
Hi everyone - I need some help. I have somehow created a flow and deployment that aren't required. I want to delete them but for some reason, I can't. I can't delete deployment or flow. I have both
deployment_id
and
flow_id
. I even tried to do it through
prefect_api
- Still it throws errors like
Service Unavailable
when deleting deployment and
Cannot find flow
when deleting flow. Can someone help me with this? UI would just say
failed to delete deployment
j
I'm still a noob with prefect v2, but by any chance, is the flow schedule still on?
m
thats turned off
there are no scheduled upcoming flows
@James Sopkin wondering if you could help?
j
hmmm, that's very strange. I've seen this before and the solution was to delete flow runs first then delete the deployment
If you go to the deployment, are you able to manually delete any of the runs?
z
It sounds like the query to delete the deployment is timing out
m
Hi all, I wasn't able to delete deployment and had to reach out to prefect support to get it fixed, Thanks anyways