My script is nowhere using the SpreadsheetApp yet the scope 'https://www.googleapis.com/auth/spreadsheets' is listed when I go to File > Project Properties > Scopes. Can't understand why is it so. Any help is appreciated.
0
votes
2 Answers
0
votes
Scopes can be modified in the Manifest file. You can access it from View -> Show Manifest File. You can read more about it here.
Also, you might check if you have the correct Advanced Services enabled, in Resources -> Advanced Google Services.
0
votes
The required scopes could be set automatically or manually. If your project is setting the scopes automatically this feature will take any instance of SpreadsheetApp
to set the basic Google spreadsheet scope even if SpreadsheetApp
is included in a comment, a library used by your project, or by the Google Sheets Adavanced Service if it's enabled.
Related