Search code examples
javagoogle-apigoogle-drive-apigoogle-classroom

Google classroom doesn't have access to Google Drive


Well i got the same question as: https://stackoverflow.com/questions/38352747/google-classroom-test-account-does-not-have-google-drive-access

Is there any way to access Google drive on a Google Classroom test account?

This is the error when creating a assignment with a google drive file.

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
  "code" : 403,
  "errors" : [ {
    "domain" : "global",
    "message" : "The caller does not have permission",
    "reason" : "forbidden"
  } ],
  "message" : "The caller does not have permission",
  "status" : "PERMISSION_DENIED"
}

Solution

  • Well i fixed this by getting a real teacher/student account