I call a Google Apps Script project from my website with the Apps Script API, but when I am logged in with another account instead of the owner, the Apps Script function receives no parameter values.
When logged in my website with the account that created the script, everything works properly.
i adjusted "dev mode" to false with no change in behavior.
Here is my Apps Script project code
function test(mail){
var s =mail
Logger.log(s)
var sheets = "anything";
return Logger.log(sheets);
}
my website code (call)
function test() {
var scriptId = "MYSCRIPT";
var request = {
'function': 'test',
'parameters': [mail],
//'devMode': false // Optional
};
No scopes are required.