Symptom
Using Device Administration - Network Conditions OpenAPI throws 400 error.
This is a get request so there is no input we can provide.
This is happening because the Network Condition has either a network device or a network device group configured and such network device or network device group was deleted.
show logging application api-server.log | include "NetworkConditions"
shows the next error:
cpm.iseopenapi.policy.crud.NetworkConditionCrudOperations -::::- Failed to retrieve All NetworkConditions com.cisco.cpm.iseopenapi.policy.exception.PolicyOpenApiException: Failed to retrieve device name by ID: 83b3a900-14bf-11ea-9bf6-e661a0f1d41d
Conditions
Network device or network device group configured on the Network Condition was deleted
Workaround
Edit the network condition to have an existing network device or network device group
Further Problem Description