# Microsoft Word Template - InvalidConfigurationError Invalid docx file

**URL:** <https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383>\
**Category:** Questions\
**Tags:** error\
**Created:** [October 9, 2024, 6:51am UTC](https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383 "2024-10-09T06:51:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarah\_l](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sarah\_l](https://community.make.com/u/sarah_l)\
**Post date:** [October 9, 2024, 6:51am UTC](https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383/1 "2024-10-09T06:51:21Z")

</div>

Hi! Trying to make a autocomplete file from a template in onedrive using the microsoft word template.

I cannot get it working, getting the InvalidConfigurationError Invalid docx file error.

 ![Screen Shot 2024-10-09 at 5.48.29 pm](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/b/4b197534433c24dde6b69ace9996f631c9d44691.png)  
 ![Screen Shot 2024-10-09 at 5.49.20 pm](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/c/ecb98caefce5a56376d2bcf0006bfec33f51a98f.png)

see screenshots attached, I have tried using the onedrive lookup before, and using that link or just using the share to anyone link as well, both giving me this error…

Any tips?

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [October 9, 2024, 1:52pm UTC](https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383/2 "2024-10-09T13:52:32Z")

</div>

Use a “Get a file” module to download the file first.

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![sarah\_l](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sarah\_l](https://community.make.com/u/sarah_l)\
**Post date:** [October 11, 2024, 4:38am UTC](https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383/3 "2024-10-11T04:38:28Z")

</div>

Thanks Sam, So I have done that, and it is passing, however when I specify it in the microsoft word module, I still get this error.

What should I be choosing, the URL?

 ![Screen Shot 2024-10-11 at 3.38.07 pm](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/5/95949c695ebe30f6d4de3f37e4ed19b00fd529e0.png)

---

<div class="post-metadata">

**Author:** ![Andre\_Lang](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@Andre\_Lang](https://community.make.com/u/Andre_Lang)\
**Post date:** [October 14, 2024, 2:30am UTC](https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383/4 "2024-10-14T02:30:20Z")

</div>

I have the exact same issue!!

How can I download a file from onedrive… and use it as a template. Sadly my organisation has only got onedrive, and I cannot figure it out.

---

<div class="post-metadata">

**Author:** ![knoestef](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@knoestef](https://community.make.com/u/knoestef)\
**Post date:** [November 9, 2024, 10:25pm UTC](https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383/5 "2024-11-09T22:25:51Z")

</div>

Just had the same issue and solved it by doing the following:  
In your scenario after you use the “OneDrive Get a file” \> add the module “HTTP Get a file” in the “HTTP Get a file” you can use the Download URL that you get in “OneDrive Get a file”

After you get the file, you can use it in the Word Module to fill out the template. Keep in mind that the name of the filled out file should be for example “Copy of filename.docx”

After that, the next step is to upload the filled in template with the “OneDrive Upload a file” module.

So this

 ![word_template](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/7/a73a9e7fdab36f0e4dbcbd86a13e6e8ab7b9f6c7.png)

---

<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:** [November 25, 2024, 8:57am UTC](https://community.make.com/t/microsoft-word-template-invalidconfigurationerror-invalid-docx-file/57383/6 "2024-11-25T08:57:15Z")

</div>


