Skip to main content

Troubleshooting

Clicking on Test connection does two things - it checks that ClassConsole can read classrooms, and it checks that it can look up users. If either fails, you'll see one of these messages 👇

"The … API isn't turned on in the service account's Google Cloud project"​

The Google Classroom API or the Admin SDK API is turned off on the project the service account belongs to. Turn it on, then wait a few minutes before trying the connection test again.

"Google won't let the service account use these scopes"​

Domain-wide delegation has been set up for the service account, but some scopes that ClassConsole needs are missing. The error message will list which scopes are missing.

In the Google Admin console, edit the service account's entry under Manage domain-wide delegation and make sure it has all four scopes. Wait a couple of minutes before trying again.

"Google won't let the service account act as …"​

Domain-wide delegation hasn't been setup. Check that:

  • The client ID in the Admin console is the correct Unique ID for the service account, not its email address.
  • The entry was saved in the Admin console for the correct Google tenancy.

See Allow domain-wide delegation for more information.

"Google turned down the sign-in"​

  • Make sure the admin email address you've provided is an active super admin account in the correct Google tenancy.
  • Check that the key hasn't been deleted in Google Cloud, if it has, create a new key for the service account and reconnect using this key.

"… doesn't have permission to do this"​

Make sure the admin email address you've provided is an active super admin account in the correct Google tenancy.

"Couldn't look up users, so classroom owners will show as Unknown"​

This means ClassConsole could read classrooms from your tenant, but not users.

Make sure the Admin SDK API is turned for the Google project and that the admin.directory.user.readonly scope has been granted under domain-wide delegation.

"Couldn't reach Google"​

ClassConsole couldn't connect to Google at all. Check your internet connection and if your network uses a firewall or proxy, make sure you whitelist googleapis.com.

Still stuck?​

Open an issue on GitHub with the error message you're seeing.