Skip to content

notification_settings delete sometimes returns 404 for no reason #718

Description

@victorasu

Describe the bug

When deleting notification settings, the server sometimes returns a 404 error code during the operation even though it deletes the resource from the DB.

Error message

Unclear.

Resource configuration

Unclear.

Expected behavior

Deleting a notification setting would always return 2xx codes when succeeding, 4xx when the setting is already removed and 5xx when the server encounters an unexpected error.

Config (please complete the following information):

Unclear.

Additional context

An fix for this by making the DELETE operation idempotent was attempted in dbt-cloud but retracted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions