cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using the Settings API to Change Anomaly Detection Settings

sjena7810
Participant

Hey all!

I want to use the Dynatrace Settings API to take the anomaly detection settings for one host, and apply them to another host. However, I am having a lot of trouble doing so.

I am successfully able to return (GET) the anomaly detection settings for one host, but I am unable to PUT/POST these changes onto another host.

The error I see is: "Code": 400, "message": "Could not map JSON at '' near line 1 column 1"}}, "msg": "Status code was 400 and not [200, 201]."

Any tips?

sjena7810_0-1744653272785.png

 

1 REPLY 1

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I think you are sharing a YAML file. Are you using Monaco or Terraform?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts