Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

203
Views
"Exception: Action not allowed" when using DocumentApp.getActiveDocument()

I have developed a Google Docs addon that is published to the Google Workplace Marketplace.

But I'm getting this error:

Error Exception: Action not allowed

when trying to access the current active document using this function where the add-on is installed.

var doc = DocumentApp.getActiveDocument();

It works fine in development and testing, but for live users I get this error in the Executions log.

The auth scope related to this functionality is added and approved:

https://www.googleapis.com/auth/documents.currentonly

This scope should be enough to access the document so I don't know what the issue could be.

Happy for any assistance!

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!