# \[bug-355\]GatewayException: Unable to decode arguments

**URL:** <https://forum.inductiveautomation.com/t/bug-355-gatewayexception-unable-to-decode-arguments/38110>\
**Category:** Ignition\
**Created:** [August 27, 2020, 12:56am UTC](https://forum.inductiveautomation.com/t/bug-355-gatewayexception-unable-to-decode-arguments/38110 "2020-08-27T00:56:16Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 21, 2023, 12:41pm UTC](https://forum.inductiveautomation.com/t/bug-355-gatewayexception-unable-to-decode-arguments/38110/25 "2023-09-21T12:41:29Z")

</div>

You asked the exact same question in two places. Don't do that. It is against [this forum's rules](https://forum.inductiveautomation.com/faq), as it makes it hard to find answers in the future. I answered you in the other topic:

> [@Insert into the database from 2 different sources](https://forum.inductiveautomation.com/t/insert-into-the-database-from-2-different-sources/51997/14):
>
> Hello, I am facing the similar issue. That I want to insert entire dataset into database table. I followed the code by @lrose but getting below error. Code: data1 = system.tag.read("[default]TEST/Tag").value pyData = system.dataset.toPyDataSet(data1) query = "INSERT INTO MyTable (C1, C2, C3, C4, C5, C6, C7) VALUES %s" valueArgs = ','.join(['(?,?,?,?,?,?,?)'] \* data1.getRowCount()) argList = [row for row in pyData] system.db.runPrepUpdate(query % valueArgs, argLi…

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-355-gatewayexception-unable-to-decode-arguments/38110)._
