# PandaDoc Create a Document Module Error

**URL:** <https://community.make.com/t/pandadoc-create-a-document-module-error/62590>\
**Category:** Questions\
**Tags:** mapping\
**Created:** [November 27, 2024, 7:50pm UTC](https://community.make.com/t/pandadoc-create-a-document-module-error/62590 "2024-11-27T19:50:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simplified\_Workflows](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Simplified\_Workflows](https://community.make.com/u/Simplified_Workflows)\
**Post date:** [November 27, 2024, 7:50pm UTC](https://community.make.com/t/pandadoc-create-a-document-module-error/62590/1 "2024-11-27T19:50:19Z")

</div>

I have a similar error found in this topic: [Monday + PandaDoc - #2 by sgharibian](https://community.make.com/t/monday-pandadoc/20516/2)

No solution is shown there…

I am not using any ‘replace’ functions anywhere in my scenario but it keeps giving me the same error:

##### IMLError

Function ‘recipients’ finished with error! Cannot read properties of undefined (reading ‘replace’)

I have this same module being using in multiple Make accounts for various PandaDoc accounts but as far as I can tell the permissions are the same on all yet this is the only one causing a problem.

---

<div class="post-metadata">

**Author:** ![Simplified\_Workflows](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Simplified\_Workflows](https://community.make.com/u/Simplified_Workflows)\
**Post date:** [December 6, 2024, 2:36pm UTC](https://community.make.com/t/pandadoc-create-a-document-module-error/62590/3 "2024-12-06T14:36:24Z")

</div>

I found the issue/solutions. If anyone falls on this post here is what happened for me and how I fixed it.

I was using custom variables to fill details of the document in the PandaDoc template dynamically. I didn’t realize I named one of the fields the same as I named one of the signing roles. So when the module went to populate the field PandaDoc erred. As soon as I changed that field name to something else I had no more issues.

I am surprised PandaDoc’s support didn’t catch that issue more quickly but there you have it!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [December 20, 2024, 2:40pm UTC](https://community.make.com/t/pandadoc-create-a-document-module-error/62590/4 "2024-12-20T14:40:26Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


