Skip to content

"Cannot directly update a Synthetics Monitor, use Synthetics API instead" #6

Description

Hi Sim,

I get this error when I try to update the MESSAGE attribute of a synthetic monitor.
I am running POSHDOG 0.0.6

Request to Datadog API backend was NOT successful; It returned this: {"errors":["Cannot directly update a Synthetics Monitor, use Synthetics API instead."]}
At C:\Powershell\Documents\WindowsPowerShell\Modules\poshdog\0.0.6\Private\New-DDQuery.ps1:103 char:13
+             Throw "Request to Datadog API backend was NOT successful; ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Request to Data...API instead."]}:String) [], RuntimeException
    + FullyQualifiedErrorId : Request to Datadog API backend was NOT successful; It returned this: {"errors":["Cannot directly update a Synthetics Monitor, use Synthetics API instead."]}

Thanks in advance.
-A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions