Skip to content

Dataset error from API for DatasetNotFound #3593

Closed

Description

@lorenzo-cavazzi

Currently, when a client sends the wrong data for modifying a dataset through the service API, the core section raises an error errors.DatasetNotFound. The text is on point for the CLI but a bit confusing for a remote client interacting through the API

image

I suggest re-catching the error errors.DatasetNotFound in the ui section and creating a new UserDatasets* error with a more user-friendly message, something like "The dataset doesn't exist in the project. Please check your inputs or create the target dataset first."

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

Metadata

Metadata

Labels

kind/bugstatus/triage

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions