I am currently creating a program to open a txt file from a shared folder using the id. However, it outputted this error:
Invalid argument (line 14, file "main") line 14
var file2 = DocumentApp.openById("1CdUmn9aw2q94lx4Rbj7eYl0s8DAbt8Hq");
I have tried DriveApp to check if my string was wrong, but it was correct. Any suggestions on how to solve this?