I am trying to delete a flow via Interactive API: ...
# prefect-community
k
I am trying to delete a flow via Interactive API:
Copy code
mutation {
  delete_flow(input: {flow_id: "e1bd5dfa-3761-41ca-ac82-2104cf5157c1"}) {
    success,
    error
  }
}
Here is the error:
Copy code
{
  "graphQLErrors": [
    {
      "path": [
        "delete_flow"
      ],
      "message": "Operation timed out",
      "extensions": {
        "code": "API_ERROR"
      }
    }
  ],
  "networkError": null,
  "message": "GraphQL error: Operation timed out"
}
I was unable to delete it in the UI (the older versions were deleted though). We are using Cloud. Any ideas?
j
🤔 @Klemen Strojan interesting I was just able to delete without issue. Jw how many versions of this flow were there and when you say “older versions were deleted” does that mean the most recent version is still there? I will elevate this to the team 🙂
Update: the team is aware of this issue and they are working on it. If you want to you could DM me the ID of the flow you would like to delete and we can do it for you 👍
k
Thanks! There were 17 versions of the flow and after my first deletion in UI only the last one remained.