Getting a 403 – Forbidden for Google Service Account

You need to set an admin account with:

.setServiceAccountUser(some_admin_email)

And make sure your App (with the correct scopes) is granted access in the cpanel.

Leave a Comment