# \`submitMustFailWith\`

**URL:** <https://forum.canton.network/t/submitmustfailwith/3600>\
**Category:** App Development\
**Tags:** daml, features and bugs\
**Created:** [December 17, 2021, 5:33pm UTC](https://forum.canton.network/t/submitmustfailwith/3600 "2021-12-17T17:33:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Luciano](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/luciano/32/319_2.png) [@Luciano](https://forum.canton.network/u/Luciano)\
**Post date:** [January 21, 2022, 10:24am UTC](https://forum.canton.network/t/submitmustfailwith/3600/5 "2022-01-21T10:24:34Z")

</div>

Duplicate of

> [@Negative Testing](https://discuss.daml.com/t/negative-testing/2988):
>
> Hey team, I’m writing some scripts to test some new features I’ve recently added to a Daml project. One thing I noticed is when I do negative testing, using submitMustFail that I’d like to also provide the reason why the submission should fail. Currently, I have to manually check that the submission failed as I cannot specify the reason why the submission should fail. For example, I have choices that requires multiple signatures with multiple assertions. I cannot distinguish a failure on a mis…

---

_[View the full topic](https://forum.canton.network/t/submitmustfailwith/3600)._
