I have a google verified, published app script deployed as a web app. It generates a form as a classwork in google classroom. When accessing the app from my own google classroom account, it runs ok. However, when accessing the app from other google classroom accounts, I got error:
"code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED".
Below is the appscript.json of the script:
{
"timeZone": "America/New_York",
"exceptionLogging": "STACKDRIVER",
"runtimeVersion": "V8",
"dependencies": {
"enabledAdvancedServices": [
{
"userSymbol": "Classroom",
"version": "v1",
"serviceId": "classroom"
}
]
},
"webapp": {
"executeAs": "USER_ACCESSING",
"access": "ANYONE"
},
"executionApi": {
"access": "ANYONE"
},
"oauthScopes": [
"https://www.googleapis.com/auth/script.external_request",
"https://www.googleapis.com/auth/forms",
"https://www.googleapis.com/auth/classroom.rosters.readonly"
]
}
The Oauth consent screen shows:
Verification Status
VerifiedYour consent screen has been verified. If you make changes that require verification later, you must resubmit your application for review. Learn more
Publishing status
In production
User type
External
Do you have similar experience? What could be the problem, and how to get around this?