this is the code i wrote:
function importEventData(){ var dFile = DocsList.getFileById("0Ar2YhVnsK7LLdGVrUFdpRUVQTHJ0aG1SVkp6V0JMMkE"); var text = DocumentApp.openById("0Ar2YhVnsK7LLdGVrUFdpRUVQTHJ0aG1SVkp6V0JMMkE").editAsText().getText(); return text; };
The first line of the function works. But, unfortunately, in the second line, the Google compiler stops and says: βThe document is missing (it may have been deleted.)β Now I try for several hours, searching the network, but I canβt find the problem. The script has permissions to my gDrive. Although I tried to get the identifier from the dFile.getId () function. But this creates the same line and the same error.
source share