PUT http://guard3.westeurope.cloudapp.azure.com:5000/instance/agent/pgafilter@backend-prod
{
"id": "pgafilter@backend-prod",
"operations": {
"resources": [
{
"content": "some text",
"id": "rule-file"
}
]
}
}
[
{
"code": 422,
"error": true,
"lcp_response": [
{
"code": 422,
"error": true,
"exception": {
"filename": "/opt/cb-manager/resource/agent/handler/lcp.py",
"line": 81,
"reason": "{'resources': [ValidationException({'path': [ValidationException('Value required for this field.')], 'content': [ValidationException('Value required for this field.')]})]}"
},
"message": "Response from LCP([email protected]:4000) not valid",
"status": "Unprocessable Entity"
}
],
"message": "Not possible to update a agent instance with the id=pgafilter@backend-prod",
"status": "Unprocessable Entity"
}
]