I have the following issues:
I cannot create a new Notebook using Google Colab
I cannot open/upload a Notebook using Google Colab
I can see Notebooks such as Welcome To Google Colaboratory
Until yesterday everything worked perfectly
I assume that I can open everything that is not linked to my Google Drive
I get the following error:
Notebook loading error
There was an error loading this notebook. Ensure that the file is accessible and try again.
Could not fetch resource at https://clients6.google.com/drive/v2beta/files/1RePbtAcs2yXW5iEl2qAS-xsGNbP_6T7u?alt=media&key=AIzaSyCN_sSPJMpYrAzC5AtTrltNC8oRmLtoqBk&%24unique=1591516436185: 403 Forbidden
https://drive.google.com/drive/?action=locate&id=1RePbtAcs2yXW5iEl2qAS-xsGNbP_6T7u&authuser=0
The response of "Forbidden" indicates that you have a permissions issue. You say you tried to open the notebook in incognito mode and failed, like that was unexpected, so the problem is not your authentication.
Either your drive permissions, folder permissions, or file permissions are not set correctly to allow public access.
Old Pro has said it right, I believe, you might need to allow Google Colab access to your Google Drive all over again, I would delete the extension, and reinstall the extension. Accept the permissions it's asking for to your Google Drive. Then try to create a Google Colab Notebook.
Reference: These are just my thoughts after working with Google Colab myself.
Related
edit: I have created a bug with Google for this issue https://issuetracker.google.com/issues/210205631
This is a summary of the situation:
Topic
Comment
Issue
Not being able to access /dev of a project. Browser console shows 404 Not Found
Worked before?
Worked for months
Caused by a user-initiated change?
To my knowledge, there was no change to the code nor settings of the project. There is no other accessing the code of the project. Not sure if some change happened to the spreadsheet
Project location
The project's container is a spreadsheet
Project type
GCP default
Deployed
Execute as me + Who has access anyone
Permission
I am not the owner of the spreadsheet. I am able to edit and share the spreadsheet. The owner holds #gmail.com type of account. The owner is not able to access /dev either
Script role
My role in the script setting is an editor
New deployments
I am able to create new deployments. New and existing deployments can be access by their URLs. But /dev
Multiple accounts
I am NOT logged into multiple accounts
Browsers
Tested on latest versions f 5 major browsers
Copy script
When I make a copy of the script, I get the same result as above
Tested on
The above applies to my google.com and my legacy free GSuite account. Tested also in incognito mode. Tested by logging into google account that got edit access to the spreadsheet then script editor was opened from the spreadsheet and /dev access from the editor
Copy spreadsheet
When I make a copy of the original spreadsheet I am able to access /dev
I have a web GAS project that was working in production for months. Now there was reported an error by a user of the actual application. I went to investigate it and wanted to open test deployment but received
"Sorry, unable to open the file at present."
Details
The project is bound to a Google Spreadsheet. I am not the owner of the Google Spreadsheet that GAS code is attached to. I never was.
Troubleshooting steps I've taken:
I tested the issue on Firefox, Edge, Vivaldi, and Chrome. The latest version of the browsers and restarted my computer. I was able to reproduce the issue on both Gmail account and legacy GSuite account. I am not logged into multiple Google accounts. Gmail account returns this dev URL: https://script.google.com/macros/s/<deploymentId>/dev. GSuite account returns this dev URL: https://script.google.com/a/macros/<domain>/s/<deploymentId>/dev
I created a copy of the Google Script and modify it so it can access the original spreadsheet. When deploying I got this error message
"Only users in the same domain as the script may deploy this script."
I am not the owner of the new script. My role is editor. I am not able to deploy under my GSuite account. The owner is on Gmail. I am able to create new deployment under my Gmail account, but I am not able to access test environment:
The script owner has the same /dev URL as I do and is getting the same error.
The question is self sufficient, but I made short video to show that /dev(test environment) end point is not accessible and throws this error, but versioned deployment(/exec) is accessible.
I was able to find steps how to reproduce this issue and created a bug report with Google https://issuetracker.google.com/issues/210205631
Steps to reproduce:
create new standard project and deploy as web app
access /dev - it works
share the project with account xyz
open the project under xyz and access /dev. it works
modify the project under xyz accocunt and access /dev. it does NOT work. You get "Sorry, unable to open the file at present" error.
open the script as owner and access /dev. it does not work
save the project as owner and access /dev. it works
repeat from point 4)
Hi i'm trying to make my own cloud web service that uses python google drive API.
what i'm trying to make is basically cloud service but can also interact with Google Drive.
To do that, my web service users have to have their own 'storage.json' file in their server's virtual directory (which really stores in server).
when I somehow get my own 'storage.json' file, (I followd: https://developers.google.com/drive/api/v3/manage-uploads)
and upload 'storage.json' file to my directory like User1, upload and download with Google drive works just fine.
but my final goal is when my user doesn't have 'storage.json' file in their directory like User2, I want browser to pops up in User2's computer and User2 can follow the google's authentication flow and finally download 'storage.json' file into server's ~/User2/ directory.
Do you think this is possible? or if there are better ways, can you notice me? thank you
I would like to be able to upload/download files from my Google Drive using a command line in Linux. I found an application called gdrive but Google refuses to authenticate this program. Any suggestions?
This may be the dumbest question ever, but here goes. I cannot get COLAB to open a folder within the COLAB folder of Google Drive. Is no folder organization allowed in the colab folder? How do I organize colab notebooks so that every notebook is not in the same google drive directory?
Most similar questions are concerned with importing data or other files into a particular notebook. That is not my concern. I want to organize separate colab notebooks. But, trying to open in colab anything other than an actual notebook file throws an error instead of, say, opening a subfolder with notebooks stored in it.
What am I missing?!?
I have a project on Google App Scripts connected to my drive.
I was able to save and organize my files (from mail) and directories in the drive using the script.
now, I want to save the files to an FTP server and cannot find the References to do so.
how do I access an ftp server, create folders and upload files to them ?
thanks
It seems this is not possible. If you check this Class UrlFetchApp, app script only supports HTTP and HTTPS communication over the internet. A supporthing SO thread seems to confirm this.
The workaround to go from GAS -> FTP is as follows. I've been using this method for a number of years in production.
From apps script, save the file to google drive
Using Zapier, trigger to copy new filesfrom the google drive folder to a DropBox folder
Using Microsoft Flow, trigger to copy new files from the Dropbox folder to an FTP or SFTP location.
You can probably do step 3 in Zapier as well. I use Microsoft Flow because I already had a significant number of automated tasks setup there. For Step, 2, I use Zapier because MS flow does not yet have a built-in trigger available based on a new file being saved to google drive. You would have to make your own custom trigger using the google drive API's.