我有此代码
var url = "mysite.com/api/rest/googlesheets?modelnumber=WD5000M22K-60Z1LT0&spec_1=2014&spec_VJ"
var params = {
headers: { 'Content-Type': "application/json", 'Accept': "application/json","oauthScopes": "https://www.googleapis.com/auth/script.external_request"},
muteHttpExceptions: true,
method: "GET",
contentType: "application/json",
validateHttpsCertificates: false,
};
var response = UrlFetchApp.fetch(url, params);
但是我有错误You are not allowed to call user UrlFetchApp.fetch
Required Permissions https://www.googleapis.com/auth/script.external_request
我如何获得这个分辨率