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"
}