You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps Script Community
It is my observation that a Drive ID, whether it be for a folder or a file, is only ever an alphanumeric value. Your value ends with a query string which makes it even less valid.
Drop the ?ths=true. Leaving '1ApXGgAL9G5X8Wy9HBrKSbmHviLLjT_L8'
Paul Armstrong
unread,
Aug 24, 2022, 5:54:04 PM8/24/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps Script Community
I use this code to get an ID from a file or folder URL or a team drive.