Skip to content

Generic error message when user attempts to delete a query associated with a policy #2239

@gillespi314

Description

@gillespi314

🧑‍💻  Expected behavior

Clear and informative error messages

💥  Actual behavior

Users are not allowed to delete a query that is associated with a policy. If a user attempts to do so, the API responds with 422 and the UI displays a generic error.

More info

Screen Shot 2021-09-27 at 10 35 15 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    ~error messagesPrimarily involves improving an error / warning message somewhere in Fleet (UI, API, CLI, logs, etc)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions