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

 

2 REPLIES 2

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

IzabelaRokita
Community Team
Community Team

Hey @sjena7810 did you manage to find the solution to your problem? If so, it would be amazing if you've shared it with the rest of the Community! If not, let me know, and I'll look for some further assistance 😊

Featured Posts