Skip to content

An error occurred while creating datasets (archive) #46365

Open

Description

@xavier-GitHub76

Bug description

An alert is present when a dataset is already used, it's impossible to re-create it. It's normal

image

Except "france overseas", others dataset have no warnig.

With superset 7.0.0RC2, when I try to create a dataset (conso_elec_gaz_par_departement), I have an technical error :

image

The message is technical.
The creation abort due to an already existing archived dataset

The message could be : "The dataset you are trying to create is present in the archived items.

Deleting it or restoring it would allow you to complete your action"

Screenshots/recordings

No response

Superset version

6.1.0

Python version

I don't know

Node version

I don't know

Browser

Not applicable

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Activity

  1. zhengdaodeguL commented on Nov 19, 2026

    @zhengdaodeguL
    Contributor

    Fixed in #46376: creating a dataset whose name is held by an archived dataset now returns a clear 422 — Dataset "..." already exists in Recently Archived. Restore it to use the existing dataset, or delete it permanently before creating a new dataset with the same name. — instead of the technical UUID/endpoint message. The fix reuses the existing soft-deleted-duplicate detection; archiving semantics and non-archived duplicate behavior are unchanged. Includes a new regression test (fails before / passes after) and a docs note; the related dataset test modules pass (76 passed).

  2. xavier-GitHub76 commented on Nov 26, 2026

    @xavier-GitHub76
    ContributorAuthor

    @zhengdaodeguL : Thanks ! I'm OK to test the fix but conflicts are present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions