Starting today I'm getting "Google Drive has encountered an error" when users follow the urls we present to preview documents stored on Google Drive. Files are typically Excel and Word. The same links have worked for months and months.
If I try going to the Google Drive web app select the relevant docs and right click,
"Open With > Google Drive Viewer" I get the same error page.
Has something changed/broken?
Edit: This issue has now been fixed.
This is a bug with the Google Drive Viewer that is affecting all files uploaded through the Drive API. The engineering team has been alerted to the problem.
It looks Google engineers have resolved the issue with the Google Drive Viewer. Files I've upload via the Drive SDK are now correctly showing in the Viewer. Thanks for following up on this, Eric!
Related
I wrote an extension for Google Docs that used to show up in the Add Ons menu for my organization. The add on no longer shows up in the menu, but I can see it in the Google Workspace Market. I originally had it on the Google Chrome Webstore, but then it moved to the Workspace Marketplace. I can also see the corresponding project in my Google Cloud Platform console.
However, when I go to the Google Apps Script Editor, my project is not there. I have no access to the source code or ability to fix it so that it will show up in the Add Ons menu again. Does anyone know where I might be able to find script? I have the URLs for the Workspace Market, but it is private to my organization, so no one will be able to view it.
Also, I tried going through Google Support but they said that App Scripts is not supported and to ask on Stack Overflow.
Edit:
Screenshot of error
Answer to rev 1
Open the Google Marketplace SD settings page on the Google Cloud project linked of your add-on. There you should find the script project id.
Then on your web browser open your Google Apps Script project by writing a URL like this:
https://script.google.com/d/<<put-here-the-script-project-id>>/edit
If the above doesn't work, see notes at the bottom
Resources
Publish an add-on
Enable and configure the Google Workspace Marketplace SDK
Related
How can I view the source of a google apps script Library
Library with identifier underscoreGS is missing
NOTES
If you get the message "Sorry, unable to open the file at this time", try again using Chrome on incognito mode with all the extensions disabled and signing in only with an account that has access to the Google Apps Script project.
If the above doesn't work either, follow the screen advice, wait a bit and try later.
Related
Google Drive Page Not Found - Sorry, unable to open the file at this time
I've been doing some research to find out which API dropbox is using to edit docs, sheets, and slides using google doc editors inside its own application. I've looked at Google Docs API, Google Drive API, and Google App Scripts I still don't have a clear answer.
From the looks of it files are uploaded to Dropbox, then can be opened in Google's editors and they are saved back to dropbox after editing. These files don't show in my google drive so I am assuming they are not being saved by Google.
These API are correct. It's your assumption that is wrongful. Dropbox may act as a Drive application and these files are outside of your reach, nevertheless still within your Drive.
Here it's explained: store application-specific data.
I am using Google Drive REST API. Using this app I can upload the file to Google Drive. But I faced some technical problem.
Is it possible to upload files to a specified Google Drive?
Is it possible to fix the access code of Google Drive?
Yes it's possible.
It is the access token that tells Drive which account it should operate on. So read and understand OAuth and you're good to go.
First of all I want you to know that I'm not talking about uploading a file from users computer drive.
What Im aiming to do is to be able to allow users to add a file from their Google Drive to a specific folder in my Google Drive. I've searched around (a lot) and I can't find anything similar.
Have you ever seen this window? I could use something like it (it's in spanish but im sure you've seen it before). It allows you to upload a file from your pc or from your Google Drive:
Is it possible to access this pop up windows through Google Apps Script? If not, what are the alternatives?
What you have listed there is google picker. It can be used in apps script.
https://developers.google.com/apps-script/guides/dialogs#file-open_dialogs
The docs for Drive picker can be found at:
https://developers.google.com/picker/docs/
What you can do, is use the Drive Picker API to allow users to chose files from their google drive.
Then once you have the File, you can add it to your folder.
https://developers.google.com/apps-script/reference/drive/folder#addFile(File)
https://developers.google.com/picker/docs/
Starting today I'm getting "Google Drive has encountered an error" when users follow the urls we present to preview documents stored on Google Drive. Files are typically Excel and Word. The same links have worked for months and months.
If I try going to the Google Drive web app select the relevant docs and right click,
"Open With > Google Drive Viewer" I get the same error page.
Has something changed/broken?
Edit: This issue has now been fixed.
This is a bug with the Google Drive Viewer that is affecting all files uploaded through the Drive API. The engineering team has been alerted to the problem.
It looks Google engineers have resolved the issue with the Google Drive Viewer. Files I've upload via the Drive SDK are now correctly showing in the Viewer. Thanks for following up on this, Eric!