openml / openml/OpenML

Can't delete task and dataset (Task is not owned by you)

Open
#761 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
755
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I would like to delete my uploaded dataset ( https://www.openml.org/d/41101 ) and task ( https://www.openml.org/t/168307 ) using https://www.openml.org/api_docs#!/task/delete_task_id . But I got the following response:

{
  "error": {
    "code": "453",
    "message": "Task is not owned by you"
  }
}

Even though I created the task. Hence, I can't delete the dataset too because it still has an active task.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the task/delete_task_id API documented in the issue, using task 168307 and dataset 41101. Trace how ownership is checked for task deletion and how active tasks block dataset deletion. Done means the creator can delete the task and then the dataset, with ownership errors still applying to other users.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend-api-design, data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.