Does anyone has experience in convert a batch of .docx file, stored in Google Drive, to Google Doc format?
I read the solution posted 3 years ago by Youssef, but it is not working anymore.
Docx to Google Doc using Google Script
When I try to replicate his solution below, I have this error message: We're sorry, a server error occurred. Please wait a bit and try again.
var docx = DriveApp.getFileById("###");
var newDoc = Drive.newFile();
var blob =docx.getBlob();
var file=Drive.Files.insert(newDoc,blob,{convert:true});
The code stops in docx.getBlob()
I will really appreciate your support!!