I had previously encountered this issue. We were able to resolve it by adding a 5 sec sleep as the word doc was a big file.
Also, I would suggest that you check if you have the license installed properly for office. And lastly, make sure the location you save the file is accessible for the ID that has opened BP