Unable to upload Accelerometer Train Data from Arduino Nano 33 BLE using Edge Impulse Daemon

Hi,
My Arduino Nano 33 BLE shows connected in Devices tab. I tried requesting for accelerometer data from Data Acquisition tab, it did not upload anything.

When I clicked on Start sampling button, I got the below error in edge-impulse-daemon command line. It was working fine for me till this afternoon. I uploaded the Edge Impulse firmware again to the device, but, got the same error.

[SER] Failed to upload to https://ingestion.edgeimpulse.com/api/training/data StatusCodeError: 400 - “Invalid message body, was specified to be CBOR but could not decode message (Undeterminated nesting)”
at new StatusCodeError (C:\Users\USER\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\request-promise-core\lib\errors.js:32:15)
at Request.plumbing.callback (C:\Users\USER\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\request-promise-core\lib\plumbing.js:104:33)



statusCode: 400,
error: ‘Invalid message body, was specified to be CBOR but could not decode message (Undeterminated nesting)’,



body: <Buffer a3 69 70 72 6f 74 65 63 74 65 64 a2 63 76 65 72 62 76 31 63 61 6c 67 65 48 53 32 35 36 69 73 69 67 6e 61 74 75 72 65 78 40 37 62 64 63 36 62 62 31 33 … 223 more bytes>,
encoding: ‘binary’,
uri: ‘https://ingestion.edgeimpulse.com/api/training/data’,
method: ‘POST’,
callback: [Function: RP$callback],
transform: undefined,
simple: true,
resolveWithFullResponse: false,
transform2xxOnly: false
},
response: IncomingMessage {
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },

My Bad. The sampling length was too short. Its working now.

1 Like

@ravi_bhushan thanks for reporting back, we’ll set a minimum sample length for the Nano 33 BLE Sense!