# Error with Google Doc - Create a doc from template

**URL:** <https://community.make.com/t/error-with-google-doc-create-a-doc-from-template/39012>\
**Category:** Questions\
**Tags:** error\
**Created:** [May 27, 2024, 10:35am UTC](https://community.make.com/t/error-with-google-doc-create-a-doc-from-template/39012 "2024-05-27T10:35:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jessy\_Jii](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/jessy_jii/32/26810_2.png) [@Jessy\_Jii](https://community.make.com/u/Jessy_Jii)\
**Post date:** [May 27, 2024, 10:35am UTC](https://community.make.com/t/error-with-google-doc-create-a-doc-from-template/39012/1 "2024-05-27T10:35:52Z")

</div>

Hi everyone!

I don’t succeed to create a doc from a template within the gdoc module.

When connected to the right email, then  
By drop-down then  
My drive

I have this text written in red

Cannot read properties of null (reading ‘setAttribute’)

I don’t understand why, it used to work and now not.

When I create a new scenario with this module as a trigger it works.  
No errors and I can fill the {{values}}

I made a loom video (sorry it’s in French)

What did I do wrong please?

To add context I added 2 pictures :

- 1 with the error I get when module is not working
- 1 with the module working right  
Tell me if you need more info

 ![No error when module is alone](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/a/aac636671ec4da356ce5f1a177d08efe765b4f3d.jpeg)  
 ![The error I get](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/d/0dc0fa062b3cb10ecebc0dad8a81bf6ada8d1122.jpeg)

---

<div class="post-metadata">

**Author:** ![VinayakUpadhyay](https://avatars.discourse-cdn.com/v4/letter/v/dc4da7/32.png) [@VinayakUpadhyay](https://community.make.com/u/VinayakUpadhyay)\
**Post date:** [May 27, 2024, 12:23pm UTC](https://community.make.com/t/error-with-google-doc-create-a-doc-from-template/39012/2 "2024-05-27T12:23:53Z")

</div>

delete the module that is not working and create from scratch. if that doesn’t work then replace the working module with the non-working one

---

<div class="post-metadata">

**Author:** ![Jessy\_Jii](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/jessy_jii/32/26810_2.png) [@Jessy\_Jii](https://community.make.com/u/Jessy_Jii)\
**Post date:** [May 29, 2024, 11:36am UTC](https://community.make.com/t/error-with-google-doc-create-a-doc-from-template/39012/3 "2024-05-29T11:36:00Z")

</div>

It worked. Thank you! I deleted the module to recreate one from scratch

---

<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:** [June 12, 2024, 11:49am UTC](https://community.make.com/t/error-with-google-doc-create-a-doc-from-template/39012/4 "2024-06-12T11:49:01Z")

</div>


