diff --git a/lib/bindings/HTTPBinding.js b/lib/bindings/HTTPBinding.js index 52a6d8596..10f37f838 100644 --- a/lib/bindings/HTTPBinding.js +++ b/lib/bindings/HTTPBinding.js @@ -316,13 +316,17 @@ function handleIncomingMeasure(req, res, next) { config.getLogger().debug(context, 'Parsing payloadDataArr %j for device %j', payloadDataArr, device); for (const i in payloadDataArr) { values = commonBindings.extractAttributes(device, payloadDataArr[i], device.payloadType); - attributeArr.push(values); + if (values[0][0]) { + // Check multimeasure from a ngsiv2 entities array + attributeArr = attributeArr.concat(values); + } else { + attributeArr.push(values); + } } } else { attributeArr = []; } } - if (attributeArr.length === 0) { finishSouthBoundTransaction(next); } else {