# Is there a way to get the error string returned by a smart contract on requires() error?

**URL:** https://devforum.kaia.io/t/is-there-a-way-to-get-the-error-string-returned-by-a-smart-contract-on-requires-error/4449
**Category:** Caver
**Created:** [3월 18, 2022, 10:53오후 UTC](https://devforum.kaia.io/t/is-there-a-way-to-get-the-error-string-returned-by-a-smart-contract-on-requires-error/4449 "2022-03-18T22:53:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bruce\_riley](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bruce\_riley](https://devforum.kaia.io/u/bruce_riley)
#### Post date: [3월 18, 2022, 10:53오후 UTC](https://devforum.kaia.io/t/is-there-a-way-to-get-the-error-string-returned-by-a-smart-contract-on-requires-error/4449/1 "2022-03-18T22:53:28Z")

</div>

I am calling into my smart contract using the caver-js send() call. The call is failing, which I think is probably valid, but I do not see the requires error string in the response, like I do on other EVM chains.

All I see is: “txError”: “0x9”,

Is there a way to get the actual error string, like on other EVM chains?

---

<div class="post-metadata">

### Author: ![lorance.call](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/lorance.call/32/1653_2.png) [@lorance.call](https://devforum.kaia.io/u/lorance.call)
#### Post date: [3월 18, 2022, 11:02오후 UTC](https://devforum.kaia.io/t/is-there-a-way-to-get-the-error-string-returned-by-a-smart-contract-on-requires-error/4449/2 "2022-03-18T23:02:48Z")

</div>

Hi, currently to get detail of your error log, it is only available from node level, so unless you are operating your own end-point node, it is hard to get detailed information using caver-js.

In my case, I usually prepare interface contract of my solidity code, and use Remix to interact with my contract for debugging. In klaytn, you can use Remix at [https://ide.klaytn.com](https://ide.klaytn.com)

Hope this answer can help you.

BTW, this #kas:kasen channel is no longer maintained and KAS forum has been move to [https://support.klaytnapi.com/hc/en-us/community/topics](https://support.klaytnapi.com/hc/en-us/community/topics) So if you have any further question related to KAS node, please use above link.

For future question related to klaytn core or caver, you can still use this forum but please select #Caver or #Klaytn category.

Thank you,
