Thread
#prefect-community
    Klemen Strojan

    Klemen Strojan

    2 years ago
    I am trying to delete a flow via Interactive API:
    mutation {
      delete_flow(input: {flow_id: "e1bd5dfa-3761-41ca-ac82-2104cf5157c1"}) {
        success,
        error
      }
    }
    Here is the error:
    {
      "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

    josh

    2 years ago
    🤔 @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 👍
    Klemen Strojan

    Klemen Strojan

    2 years ago
    Thanks! There were 17 versions of the flow and after my first deletion in UI only the last one remained.