Hello, @GmdSaanen ,
Apologies for the dealyed response, and thank you for providing the HTTP and MQTT payload examples.
Based on the information currently available, we can confirm that the data is being received as expected through MQTT, while the HTTP payload appears to have a different or malformed structure. However, the examples alone are not sufficient to determine whether the issue originates from the TRB246 configuration, the generated HTTP request, or the receiving server.
To investigate this further, could you please provide the following information?
- Data to Server configuration
Please share screenshots or an export of the relevant Data to Server instance, including:
-
Data input and selected data fields.
-
Format type and format string.
-
Collection settings.
-
Delimiter, segment count, and Send as object settings.
-
Any custom formatting or Lua scripts.
-
HTTP server settings, including configured headers and compression.
Please redact any credentials, tokens, or other sensitive information before sharing the configuration.
- Raw HTTP request
Please provide the exact HTTP request body as received by your server, preferably from a server log or packet capture, together with:
-
HTTP request headers, especially Content-Type and Content-Encoding.
-
HTTP response status code.
-
Any relevant server-side error or parsing logs.
Please share the raw payload rather than a screenshot or a copy from a rich-text editor, as the latter may alter quotation marks or other characters.
- Controlled test
If possible, please perform the following test:
-
Create a minimal Data to Server test configuration using the default JSON format and only one or two data values.
-
Send the data to a test HTTP endpoint.
-
Capture the raw request body received by the server.
-
Compare it with the MQTT payload generated from the same data source and test interval.
-
If custom formatting or Lua scripts are currently used, please also confirm whether the issue persists when using the default JSON format.
The quotation marks shown in the forum example appear to be typographic quotation marks rather than the standard quotation marks used in JSON. However, we cannot determine from the forum representation whether these characters were actually transmitted by the router or introduced during copying or display. A raw HTTP capture will help us clarify this.
Additionally, please confirm whether the issue persists after upgrading the device to the latest supported TRB246 firmware, if an upgrade is available for your device.
Once we have the configuration and raw HTTP request details, we can determine the next steps more accurately and establish whether the issue is related to the payload formatting, HTTP transmission, or server-side processing.
I look forward to your reply,
Best regards,
V.