# Error while using custom templates in domain file

**URL:** <https://forum.rasa.com/t/error-while-using-custom-templates-in-domain-file/32055>\
**Category:** Rasa Open Source\
**Created:** [July 31, 2020, 8:24am UTC](https://forum.rasa.com/t/error-while-using-custom-templates-in-domain-file/32055 "2020-07-31T08:24:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohith](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@rohith](https://forum.rasa.com/u/rohith)\
**Post date:** [July 31, 2020, 8:24am UTC](https://forum.rasa.com/t/error-while-using-custom-templates-in-domain-file/32055/1 "2020-07-31T08:24:16Z")

</div>

utter\_get\_details:

- custom: form:
  - label: name placeholder: Enter your name type: text pattern: name
  - label: Resume placeholder: please select type: file accept: .jpg,.png,.pdf maxsize: 200000
  - label: Qualification type: select placeholder: Please select highest Qualification options: [btech,bcom,masters] responces:
  - text: this is form templateFunction: form

while using above response template in domain file its shows as follows

ERROR rasa.core.processor - Encountered an exception while running action ‘utter\_get\_details’. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.

thanks in advance

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [August 3, 2020, 7:14am UTC](https://forum.rasa.com/t/error-while-using-custom-templates-in-domain-file/32055/2 "2020-08-03T07:14:40Z")

</div>

hi @rohith - I guess this custom template gets rendered by a custom channel you are using? Try running with the `--debug` flag on, seems to be an issue formatting the message json in the output channel.
