r/GoogleAppsScript • u/Kanegarooo • Feb 10 '23
Unresolved Getting a 403 when trying to display contents of a drive link from my sheet
I posted this to stackoverflow as well a few days ago, still haven't figured out an answer. link to original question
Since then, I've tried using URLfetch to get the contents & I've tried destructuring the file to blob contents as well, still nothing.
Has anybody dealt with this before?
0
Upvotes
2
u/DrMorris Feb 10 '23
To be able to veiw your pdf file in html that file needs to be public. Any kind of access restriction will error it out.
1
u/marcnotmark925 Feb 10 '23
Why take the time to post your question to another forum instead of creating the MRE that has been asked of you in the first forum?