Google-apps-script 调试:找不到您请求的资源。 (第 175 行,文件 "Code")
Google-apps-script debug: The resource you requested could not be located. (line 175, file "Code")
这是我第一次 post 来这里,在编程方面我确实是个新手,所以如果我在自欺欺人,请多多包涵。
我有一个脚本可以在提交新的 google 表单时更新我的 google 联系人,该表单在过去 3 年中 运行 表现良好,几个月前就停止工作了。我没有更改脚本或表单中的任何内容,所以不确定它停止工作的原因以及如何修复它。你能帮忙吗?
我收到此错误通知:找不到您请求的资源。 (第 175 行,文件 "Code")
这是我在第 175 行的内容:
if (YourAddress && YourAddress!='' && YourAddress!=' ') newContact.addAddress(ContactsApp.Field.HOME_ADDRESS, YourAddress);
我检查了第 52-53 行的 Var 定义,似乎是正确的:
case "Your Address":
YourAddress = itemResponse.getResponse();
你有什么建议可以解决我的问题吗?
非常感谢!
您的错误是由于错误引起的,该错误已在 Public Issue Tracker
上提交了两次
参见here and here。我建议您给这些问题一个 "star" 以提高知名度,并希望它们能尽快得到解决。同时,您可以尝试其他有相同问题的人建议的解决方法之一,例如:
if (YourAddress && YourAddress!='' && YourAddress!=' ') {
ContactsApp.getContactById(newContact.getId()).addAddress(ContactsApp.Field.HOME_ADDRESS, YourAddress);
}
这是我第一次 post 来这里,在编程方面我确实是个新手,所以如果我在自欺欺人,请多多包涵。 我有一个脚本可以在提交新的 google 表单时更新我的 google 联系人,该表单在过去 3 年中 运行 表现良好,几个月前就停止工作了。我没有更改脚本或表单中的任何内容,所以不确定它停止工作的原因以及如何修复它。你能帮忙吗?
我收到此错误通知:找不到您请求的资源。 (第 175 行,文件 "Code")
这是我在第 175 行的内容:
if (YourAddress && YourAddress!='' && YourAddress!=' ') newContact.addAddress(ContactsApp.Field.HOME_ADDRESS, YourAddress);
我检查了第 52-53 行的 Var 定义,似乎是正确的:
case "Your Address":
YourAddress = itemResponse.getResponse();
你有什么建议可以解决我的问题吗? 非常感谢!
您的错误是由于错误引起的,该错误已在 Public Issue Tracker
上提交了两次参见here and here。我建议您给这些问题一个 "star" 以提高知名度,并希望它们能尽快得到解决。同时,您可以尝试其他有相同问题的人建议的解决方法之一,例如:
if (YourAddress && YourAddress!='' && YourAddress!=' ') {
ContactsApp.getContactById(newContact.getId()).addAddress(ContactsApp.Field.HOME_ADDRESS, YourAddress);
}