surefirejb
surefirejb
BRBuildShip + Rowy
Created by surefirejb on 5/11/2024 in #❓・buildship-help
Trying to update permissions on google doc
My goal is to update the permissions on a google doc to be writable by either anyone or a specific user (either one is fine). But several attempts have come up short. The closest I've come to getting a result is from code created by the AI. But based on the error message (I'll share below) it seems that BuildShip connection to my Google account doesn't have the permissions needed to make it happen. Here's the error. { "error": { "code": 403, "message": "Request had insufficient authentication scopes.", "errors": [ { "message": "Insufficient Permission", "domain": "global", "reason": "insufficientPermissions" } ], "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", "domain": "googleapis.com", "metadata": { "service": "drive.googleapis.com", "method": "google.apps.drive.v3.DrivePermissions.Create" } } ] } } I'm considering doing an api call to a nodejs file on another server to make this happen but I would have expected to be able to do the following with Buildship - Create and update permissions on files and folders - Create folders in Google Drive Has anyone else tackled something similar or do you have any suggestions on how to update the permissions on a google doc using Buildship?
2 replies