# "JdbcBatchUpdateException: Unique index or primary key violation" when submitting commands to the sandbox?

**URL:** <https://forum.canton.network/t/jdbcbatchupdateexception-unique-index-or-primary-key-violation-when-submitting-commands-to-the-sandbox/3721>\
**Category:** App Development\
**Created:** [January 12, 2022, 11:31am UTC](https://forum.canton.network/t/jdbcbatchupdateexception-unique-index-or-primary-key-violation-when-submitting-commands-to-the-sandbox/3721 "2022-01-12T11:31:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [January 12, 2022, 11:32am UTC](https://forum.canton.network/t/jdbcbatchupdateexception-unique-index-or-primary-key-violation-when-submitting-commands-to-the-sandbox/3721/2 "2022-01-12T11:32:49Z")

</div>

Hi @lashenhurst, I believe this is the same issue as [Exception in Sandbox and looping continuously - #2 by cocreature](https://discuss.daml.com/t/exception-in-sandbox-and-looping-continuously/3164/2) so try to upgrade to 1.11.2 or even better something newer than 1.13.0.

---

_[View the full topic](https://forum.canton.network/t/jdbcbatchupdateexception-unique-index-or-primary-key-violation-when-submitting-commands-to-the-sandbox/3721)._
