# Modbus data length error

**URL:** <https://discourse.nodered.org/t/modbus-data-length-error/62958>\
**Category:** General\
**Created:** [23 May 2022 09:49 UTC](https://discourse.nodered.org/t/modbus-data-length-error/62958 "2022-05-23T09:49:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaij3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kaij3/32/60268_2.png) [@Kaij3](https://discourse.nodered.org/u/Kaij3)\
**Post date:** [23 May 2022 09:49 UTC](https://discourse.nodered.org/t/modbus-data-length-error/62958/1 "2022-05-23T09:49:18Z")

</div>

Hi all,

I have an IO module that i am trying to get the data via Modbus TCP, i have already installed this node-red palette [Modbus node](https://flows.nodered.org/node/node-red-contrib-modbus)

what i have done was, for the modbus server, and for Modbus Read, i have done a few configurations from the picture below, but when i tried to get data via tcp, it gave me this error, which states "data length error ", which i have no clue what it is.

Feel free to comment down below or guide me on this

Thank you very much!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/9/b9db01173569b9fc343c8956dbfe454ca9311ffe.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/2/3219cbdd82f0eaebe36b25e864c11b90b01c3027.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 July 2022 09:50 UTC](https://discourse.nodered.org/t/modbus-data-length-error/62958/2 "2022-07-22T09:50:08Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
