Reputation: 11
I created a Google Apps Script months ago, it was running without any errors until today, without changing any code, it is throwing the error "You do not have permission to perform that action." when trying to run the line below
ContactsApp.getContact('[email protected]');
I've tried revoking my permissions to this script, ran it again, so they are refreshed, ensuring that I have allowed access to the contacts Application properly, but this does not help. I've also tried deleting cookies and cache to no avail. Our admins also inform me there has been no changes to permissions. Any advice would be helpful.
Upvotes: 1
Views: 1694
Reputation: 21
Stumble on this problem today, found fix: open your script go to "Resources/Extended Google Services" you will find there message like "This services also must be enabled in Developer console" folow link, find "Contacts API" and set it to "ON"
Upvotes: 2