Skip to content

Error when restoring a dashboard that has been deleted in datadog #148

Description

@long-wan-ep

Steps to reproduce:

  1. Backup a dashboard
  2. Delete the dashboard in Datadog
  3. Restore the dashboard in interactive mode

Expected behavior:

  1. Dashboard gets created in Datadog
  2. ID updated for local backup

Actual behavior:

  1. Errors with the server responded with status 404 (Faraday::ResourceNotFound) when the diff method is called.

This doesn't happen for monitors and synthetics, as they're already handling the 404; however after entering r in the interactive prompt to restore, it errors with the server responded with status 404 (Faraday::ResourceNotFound) in the restore method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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