403 Request had insufficient authentication scopes

2,036 views
Skip to first unread message

Hector Tessari

unread,
Feb 3, 2023, 11:58:31 AM2/3/23
to Google Apps Script Community

I just created an App Script that creates a new folder in Google Drive; running it from the editor works fine.

Using the quickstart tutorial, I request the execution of the script, and no matter what OAuth 2.0 Client IDs configuration I do, I can't get another error.


POST https://script.googleapis.com/v1/scripts/MyAppScriptID:run
{
  "code": 403,
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.ErrorInfo",
      "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT"
      "message": "Insufficient Permission",
      "reason": "insufficientPermissions"
    }
  ],
  "message": "Request had insufficient authentication scopes.",
  "status": "PERMISSION_DENIED"
}

Hector Tessari

unread,
Feb 8, 2023, 4:40:50 AM2/8/23
to Google Apps Script Community

Dan Alboteanu

unread,
Jun 22, 2023, 10:42:28 AM6/22/23
to Google Apps Script Community
Reply all
Reply to author
Forward
0 new messages