leonhartX / gas-github

sync gas code to github
https://chrome.google.com/webstore/detail/lfjcgcmkmjjlieihflfhjopckgpelofo
MIT License
3.5k stars 70 forks source link

Facing TypeError: Cannot read property 'forEach' of undefined #151

Closed Purav-Zumkhawala closed 3 years ago

Purav-Zumkhawala commented 3 years ago

I am trying to import a project from GitHub and so I wanted to connect my GitHub to GAS. I added the chrome extension and enabled the Script API. I then went back to the GAS editor and logged in to SCM and then the execution log gave the following error.

[github assistant] TypeError: Cannot read property 'forEach' of undefined I have tried downgrading the extension and upgrading the chrome browser but with no success. I have also attached an image with the window screenshot. Please let me know what is going wrong?

Purav-Zumkhawala commented 3 years ago

I forgot to select some checkboxes while creating the access token. Its working now