Execute runkit in github

I have code in my repository in Github and I want to run the file from runkit.
The problem marks an error that cannot open the file:

Can anyone tell me what I am doing wrong?

Hi there,

There’s a couple issue. First off, the URL you’ve given will download a bunch of GitHub HTML.

But more importantly, the function you’re using, loadSuiteScriptModule, takes a file path, not a URL.

In order to use that particular function you need to download the file and write it to disk, then specify the file path.

Here is a working example:

Also, in the future, pasting the URL of the notebook is much easier to debug than a screenshot of your code without the output. :slight_smile:

Hope that helps,
- Randy


Thanks Randy, you saved me.