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

Error deploying app-detection-rule using Monaco?

naveen
Participant

I am trying to deploy app-detection-rule configuration using Monaco via Azure DevOps pipeline, but getting below error.

 

ERROR Deployment to Dev failed with error Failed to upsert DT object My Application (HTTP 400)!
Response was: {"error":{"code":400,"message":"Constraints violated.","constraintViolations":[{"path":"","message":"Given application detection rule duplicates rule 61a000cd-b4b2-49e1-6c000fa507fa","parameterLocation":"PAYLOAD_BODY","location":null}]}}, responsible config: Common/app-detection-rule/myrule.json

 

It should update the existing configuration?

2 REPLIES 2

ChadTurner
Leader

it appears that you have duplicate rules. This happens if there is an application with the same rule present. For example, I have an application called "EasyTravel" that is defined as URL Begins with: Easytravel.

 

But if I create another rule for a new application called EasyTravel1 and define it with URL Begins with: Easytravel. it will error out as the values are the same and there is a conflict. 

-Chad

JulesR1
Newcomer

It was very well authored and easy to understand. Unlike additional blogs I have read which are really not that good. I also found your posts very interesting.

 

MyAARPMedicare Login