Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spreadsheet reference becomes null in doGet(e) if you try to import repo before assigning name to new GAS script #125

Open
derrickrc opened this issue May 19, 2020 · 0 comments

Comments

@derrickrc
Copy link

Thanks for this plugin. I encountered a bug where if I create a new spreadsheet, go to script editor, and then try to download my branch before actually naming the script file, I get an error message (Update file failed) - but then after I name the script, the files show up.

However what happens afterward is with doGet(e) after I publish the script, I cannot access SpreadsheetApp.getActiveSpreadsheet(). The reference is null. It seems something happens with the binding in this process.

Perhaps just put this instruction on the main page? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant