incorrect error when programming set supervision key
Posted: 11 Dec 2018 15:16
Just ran into this - I tried programming a set supervision key for the same station on two keys. Apparently that's not supported as mgr tells me the following when I try to do it.
Processing Failure x
x OBJECT -1: Key No.: There is redundancy on the key type
With O2G, I send
And the error I get back is this
Technically, that is correct, what I sent was not allowed, but practically, I think O2G should always return a useful error - in this case what mgr returns as this tells you something and you don't have to troubleshoot by attempting to do the same operation manually and see why it fails.
Processing Failure x
x OBJECT -1: Key No.: There is redundancy on the key type
With O2G, I send
Code: Select all
{
"attributes": [{
"name": "Type",
"value": ["Station_Supervision"]
},
{
"name": "Key_NOE_Mnemonic1",
"value": ["labtest3"]
},
{
"name": "Ringing_Mode",
"value": ["Long_Ring"]
},
{
"name": "Directory_Number",
"value": ["1034"]
}]
}Code: Select all
{
"httpStatus": "BAD_REQUEST",
"code": 1006,
"helpMessage": "Request parameters are not correct. Please fix the problem and resend the request.",
"type": "BAD_PARAMETER",
"innerMessage": "McdoException: problem=ProcessingFailure message=Processing Failure for Attribute id=Subscriber_Key error=819",
"canRetry": true
}