Duplicate events

I have been receiving the same messages again and again via the Notehub. Each event is received at a different time by the Notehub (part of a different syncing session from the Notecard). But the events contain the exact same data (other than the event_id and the time when the notehub received the note).

For example, I have received this exact body created at this when 28 times in the Notehub (and paying credits to forward it every time to my application!).

"body": {"samples": [{"ledi": 7.30412, "sipm": 0.3162501, "vbias": 35.45036, "lediset": 10}, {"ledi": 47.0663, "sipm": 2.139923, "vbias": 38.09255, "lediset": 50}, {"ledi": 96.41521, "sipm": 1.2924395, "vbias": 35.347477, "lediset": 100}, {"ledi": 186.73506, "sipm": 1.0897858, "vbias": 33.698624, "lediset": 200}], "version": 1}, "file": "samples.qo", "when": 1721937841

what could be causing this?

Hi Danny! Thanks for reaching out. I have a hypothesis, but would need to confirm. Could you DM me the device UID? (dev:xxxxxxxxxxxxxx)?

Hi, I wanted to report I’m seeing the same thing. An additional data-point is that by default I’m setting all the outbound notes as “sync”:true.

I can provide Device UID to get further assistance.

We believe this issue of duplicate events was occurring under the following conditions.

  1. The Notefile has an applied template via note.template
  2. A note.add request was made to the Notecard for the templated Notefile while the Note was syncing to the Notehub.

This was most likely to occur if note.add statements are occurring frequently, and while the Notecard is in continuous connection mode with Notehub.

We submitted a fix to our most recent Developer version 7.4.1 (you may see a later version depending on when you find this message)

For more information about updating Notecard firmware, please see:

1 Like