You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error getting destination folder: Exception: Invalid argument: idException: Invalid argument: id
at createFolder (Code:236:38)
at createFolders (Code:139:27)
at processGoogleSheetData_ (Code:71:25)
at GS_INTERNAL_top_function_call.gs:1:8
The text was updated successfully, but these errors were encountered:
I ran mine with the exact same info as yours (just substituting my folder ID and the Google Doc ID) and it worked without issues....so....so here's some suggestions of what to check:
Are you sure you copied in the full drive folder ID and didn't leave anything out? Commonly a folder ID in Google will have a couple of characters at the start of the string and then a hyphen. IE: 1w-JeOd7H2OgO1789uohfdsfQolMW0MkL5
Do you have permission to create folders/content in the target folder ID? If it's someone else's folder, and you only have view permissions, you wont be able to create new folders/documents in there.
It's failing at line 236, which is "var destinationFolder = DriveApp.getFolderById(destinationFolderId);" -- which is where it's looking up the place where you're going to create the new folder. If the destinationFolderId doesn't exist, or you dont have permission to it...then it will error out.
Check those things, and then let me know if you're still having issues. I'll try to troubleshoot and help.
I am having the same issue as the above poster. My only difference is I don't have a doc to put in the folder, so the Template Google Doc ID column contains no info.
Is this possibly an issue with trying to create the folders in a shared folder? The root folder ID is to a publicly facing folder, "Anyone on the internet with the link can view."
Error getting destination folder: Exception: Invalid argument: idException: Invalid argument: id
at createFolder (Code:236:38)
at createFolders (Code:139:27)
at processGoogleSheetData_ (Code:71:25)
at GS_INTERNAL_top_function_call.gs:1:8
The text was updated successfully, but these errors were encountered: