For example:
We have a folder called /templates with a ‘template.docx’
When running this command:
/v1/words/template.docx/executeTemplate?folder=templates&withRegions=false&destFileName=outputs%2Foutput1.docx
it creates a templates/outputs folder, and also a templates/outputs/outputs folder.
So the path to the output1.docx is templates/outputs/outputs/output1.docx
Why is it creating the 2nd outputs subfolder?