Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

oauth scopes - drive.scripts scope #231

Open
retroj opened this issue Dec 16, 2016 · 1 comment
Open

oauth scopes - drive.scripts scope #231

retroj opened this issue Dec 16, 2016 · 1 comment

Comments

@retroj
Copy link

retroj commented Dec 16, 2016

Hello,

I'm interested in using gdrive to upload an apps-script project to Google Drive. Is this currently possible? I created an empty apps-script project, and fetched it with this:

$ gdrive export <ID>
Exported 'test project' with mime type: 'application/vnd.google-apps.script+json'

I then made a small change to the 'test project' file, and attempted to upload the new version:

$ gdrive update <ID> 'test project'
Uploading test-project.json
Failed to upload file: googleapi: Error 403: The drive.scripts scope is required to update Apps Script content., insufficientScopes

Is what I want to do supported by gdrive? How do I get drive.scripts scope authorization?

Thank you.

@tabebqena
Copy link

Me Too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants