27 Dec 2022
05:33 AM
- last edited on
02 Jan 2023
04:13 AM
by
Ana_Kuzmenchuk
Hello everybody !
I would like to assess whether anyone has had the same problem when trying to migrate application detection rules between Environments using Monaco.
Here's the error:
Response was: {"error":{"code":400,"message":"Constraints violated.","constraintViolations":[{"path":"applicationIdentifier","message":"referenced application does not exist or is not an auto-injected application","parameterLocation":"PAYLOAD_BODY","location":null}]}}, responsible config: Project/app-detection-rule-v2/a8cb5506-14c4-317c-b015-deaa71d5c2b4. json
2022-12-24 03:14:27 ERROR errors during deployment! check log
Dynatrace Monitoring as Code v1.8.9
Solved! Go to Solution.
Looks like the application referenced in the JSON doesn't exist in the target system. Update the "applicationIdentifier": "APPLICATION-11111111111" to one that exists, not a null value either.