comms-router icon indicating copy to clipboard operation
comms-router copied to clipboard

Error on create agent with capability name that contains '-'

Open angel-popov opened this issue 6 years ago • 0 comments

Request:curl -s -X POST 'http://192.168.1.166:8080/comms-router-web/api/routers/router-ivr/agents' -H 'Content-type:application/json' -d "{\"address\":\"address\",\"capabilities\":{\"as-df\":2}}"
Response:{"error":{"code":"IllegalArgumentException","description":"A variable or function name can not contain an operator symbol."}}
Checks:FAIL- {"error":{"code":"IllegalArgumentException","description":"A variable or function name can not contain an operator symbol."}} should have key "ref"

angel-popov avatar Mar 06 '18 13:03 angel-popov