14 Apr 2025
06:55 PM
- last edited on
15 Apr 2025
07:44 AM
by
MaciejNeumann
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?
15 Apr 2025 08:16 AM
Hi,
I think you are sharing a YAML file. Are you using Monaco or Terraform?
Best regards