Getting the following error message from Developer API portal using provided test data:
{
"errorMessage": "API backend third party service error.",
"rootCause": "errors:[code:INVALID_REQUEST,message:'control' object does not have required attributes.,code:INVALID_REQUEST,message:'permits' object not present in the request.] "
}
As you can see, the batchValidate POST body definition has no such element:
Can anyone help us interpret this?
p.s.
If I change the data
element in the POST body to permits
, the error is reduced to
{
"errorMessage": "API backend third party service error.",
"rootCause": "errors:[code:INVALID_REQUEST,message:'control' object does not have required attributes.] "
}
However, the control element contains all required elements specified in the API docs:
"control": {
"count": 2,
"callBackUrl": "http://example.com/callbacks/bcstr?token=e1231nk123bni12uhi1ub4k2jb3hi2ughri23br"
},