Report: Recent Value of ScriptApp.getService().getUrl() in Google Apps Script
There is a method of ScriptApp.getService().getUrl() for obtaining the Web Apps URL in Google Apps Script.
-
Before the V8 runtime is released, this method had returned the endpoint like
https://script.google.com/macros/s/{deploymentId}/exec. -
After the V8 runtime was released, the endpoint of
https://script.google.com/macros/s/{deploymentId}/devwas returned. -
Now, it seems that this returns
https://script.google.com/macros/s/###/exec.
But, in the current stage, when I access this endpoint, the message of Sorry, unable to open the file at this time. Please check the address and try again. is returned. So, I tried to search the deployment ID of ### from https://script.google.com/macros/s/###/exec returned with current ScriptApp.getService().getUrl(). But, unfortunately, I cannot find the deployment ID. I’m worried that this might be related to the error.