2

I've created an add-on using the google app script and published it on gsuite marketplace.

Install button for the app

When the browser has multiple users logged in and when I try to install the app, I get this message:

Sorry, unable to open the file at this time Install issue

This only happens when there are multiple gmail users logged into the same browser.

I'm not sure how to solve this issue. Any help would be appreciated.

Thanks in advance.

Aman Jain
  • 126
  • 1
  • 11
  • Do you have the full link of the page that you are trying to open? Your issue looks similar to this question: https://stackoverflow.com/questions/47045209/google-drive-page-not-found-sorry-unable-to-open-the-file-at-this-time and ````/u/0```` or ````/u/1/```` may have been appended to the link. – CMB Jan 04 '21 at 15:33
  • @CarlosM the issue you have mentioned is for deploying a web app using google app script. My problem is related to an add-on in the gsuite workspace marketplace. I've also added a picture of the install button which is causing this issue. – Aman Jain Jan 05 '21 at 05:38
  • The add-on installation still redirected to a script.google.com/macros/u/ link, which caused the issue in Google Drive. – CMB Jan 05 '21 at 15:26

1 Answers1

1

I might as well post this as an answer, as the problematic link is already displayed on the image:

When you have multiple accounts logged in to a single browser, the resolved link appends /u/0/, /u/1/, so on... to differentiate which account is to be accessed. However, it is maybe an unresolved bug, but it causes the "unable to open file" message to appear.

Referencing from this SO post, Google Drive Page Not Found - Sorry, unable to open the file at this time, the easiest workaround is to remove the /u/0/ or similar string from the resolved link.

CMB
  • 4,950
  • 1
  • 4
  • 16
  • I know that the add-on is redirecting to the script.google.com/macros/u/ LINK. There's no way one can edit this link and remove the /u/0 in a published add-on using code. It is handled by google's marketplace SDK. What I want is an answer to how it can be fixed. – Aman Jain Jan 06 '21 at 07:11
  • Hi Aman Jain, Did you manage to solve the issue ? We are facing the same unfortunately. Thanks a lot for your help – Julien B Feb 21 '22 at 16:30
  • @AmanJain sorry for posting twice but I didn't tag you correctly – Julien B Feb 23 '22 at 14:32
  • No, I wasn't been able to solve this issue. @JulienB – Aman Jain Feb 24 '22 at 14:36