"Sorry, unable to open the file at this time."

1,243 views
Skip to first unread message

Caitlin Sanders

unread,
Feb 8, 2022, 6:11:30 PM2/8/22
to Google Apps Script Community
Hi all,

I have an App Script connected to a Google Form. After submitting the form, it sends an email with a link. When a user clicks the link, it hits doGet and is supposed to show an HTML file. This has been working. However, recently when I click the link I get the attached photo (Sorry, unable to open the file at this time. Please check the address and try again.). 

I have tried re-deploying in incognito and other solutions found online, but nothing has worked.

Any help would be greatly appreciated! Thanks!
Screen Shot 2022-02-08 at 5.39.39 PM.png

cbmserv...@gmail.com

unread,
Feb 8, 2022, 6:56:27 PM2/8/22
to google-apps-sc...@googlegroups.com

A new deployment of webapps in the new editor causes the link to change. You may have deployed a new version and deleted the old one which would cause what you are seeing.

 

Check the link for the webapp and ensure it is the same one that is being sent by email.

 

Other things you can check is to ensure the webapp is available for your intended audience. If deployed to only google workspace accounts or to anyone even anonymous. Just make sure your audience is able to access the webapp as deployed.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/3c401a63-9311-4698-b85d-f1be6521e884n%40googlegroups.com.

Caitlin Sanders

unread,
Feb 10, 2022, 4:56:20 PM2/10/22
to Google Apps Script Community
Hi, @George. The Script ID in the URL of the "Sorry, unable to open the file at this time." error is not the same ID as I have it being sent in the code. It is showing an ID from a previous deployment. Any idea on why this is happening and how to change it?

cbmserv...@gmail.com

unread,
Feb 10, 2022, 6:43:27 PM2/10/22
to google-apps-sc...@googlegroups.com

Unfortunately, the only thing you can do is start using the new link that you get from the new deployment.

 

What I do is switch to the old code Editor, then use the Publish/Deploy new version from the old code editor so that I can update my webapp deployment without changing the link. In your case it is too late, so you just need to update the link in all places where you have used it so that you can switch to using the new version of the webapp.

 

Good luck.

Yashwanth Sindhu Nandi

unread,
Oct 6, 2022, 1:29:56 AM10/6/22
to Google Apps Script Community
Hi All,

I've linked an App Script to a Google Spreadsheet. After providing an input and pressing the Search button, it compares the input from the spreadsheet and populates it in the web app. But when I click on the Search button I get Sorry, unable to open the file at this time. Please check the address and try again.

I tried re-deploying in incognito mode and other internet options, but nothing worked.

Any help would be greatly appreciated! Thanks!Screenshot 2022-10-06 10.58.57 AM.png

Paul Armstrong

unread,
Oct 6, 2022, 7:13:21 PM10/6/22
to Google Apps Script Community
Just checking that your document is a Google Doc and not a Microsoft Spreadsheet stored in Google Drive.
Because accessing can generate that error message. 

Yashwanth Sindhu Nandi

unread,
Oct 7, 2022, 2:53:25 AM10/7/22
to Google Apps Script Community
Hi @Paul, it is a Google Spreadsheet and not a Microsoft Spreadsheet. Thank you! 
Reply all
Reply to author
Forward
0 new messages