Data to Server creates invalid JSON content

Type: TRB143
Firmware version: TRB1_R_00.07.20.3
Firmware build date: 2026-01-21 12:28:12
Internal modem firmware version: EC25EUGAR06A11M4G
Kernel version: 5.4.301

The Router is reading MBus data into a collection group.
The data is pushed to an FTP service via the data-to-server function.

Within the MBus data, two invalid ‘,’ characters are used, making the content invalid.

Here the “data” string content unescaped:

I think I can exlain the reason, but its still a bug.

I have 3 MBus devices connected:

Some times some device have problems to be reached:

If a device is not reachable (no data) the data to server function still contains a ",” for each segment (device).

1 Like

What is also strange is that depending on the max segment count choosen the MBus data property is formated as escaped json string or jsong object content.

Left: 1 segment, Right: > 1 segments

Update: I switch the setting back to 1 segment. But the “data” content is now still JSON object.
For weeks before “data” always contained this (left side) escaped JSON string.
Was that a bug or what is controlling the form?

As a side effect the complete JSON is valid again. To the problem only happens inside the escaped JSON string. Even more important to understand.

Greetings,

For troubleshooting purposes, we will require more sensitive information from your end, such as the troubleshoot file, which may contain passwords, public IP addresses, serial numbers, and such. To avoid leaking this information, we have sent you a form to fill out, which you will receive in your e-mail inbox that you have registered your account with in the forums. In the Ticket ID field of the form, please enter the ID of this thread, which is 18616.

Best Regards,
Justinas

1 Like

Hi Justinas,

I just answered your form. Thanks for the help.

Besides the invalid JSON format. Could you maybe already answer the question about the format? What is intended to be received in the “data” property? An escaped JSON string or a JSON object? Or both, depending on what setting? We implemented our reading application for the escaped data styl and it stopped working. Before doing any more changes, I would need to know that.

Best regards Steffen

————————————–

Update:

After updating the firmware it switched back to escaped string :joy: I’m so confused.