InvalidConfigurationError Invalid docx file

Hi everyone,

I’m currently working on integrating a OneDrive module to fetch a file location and using it within a Microsoft Word Template. However, I’m consistently running into an error that says “InvalidConfigurationError: Invalid docx file.” I’m not sure what I’m doing wrong.

Attached below is an image of the module setup. I would greatly appreciate any insights or advice on how to resolve this issue. Has anyone here encountered this before, or does anyone have any tips on how to troubleshoot or fix this error?

Thanks in advance for your help!

Hi @Maarten_Clement,

Welcome to the Make community!

Note that you should map the file data, where you are mapping the file location. If you get a file from a preceding module, you should be able to find a mappable pill that has the name ‘Data’.

Kind regards,
Henk