Assigned
Status Update
Comments
jp...@google.com <jp...@google.com> #2
Generated Metadata
- Summary: The Apps Script application is not working as expected. The first page works, but the second page does not. It is difficult to determine the root cause without additional information.
- Tags:
Additional resources:
https://developers.google.com/apps-script/guides/support/troubleshooting https://developers.google.com/apps-script/support https://stackoverflow.com/.../how-to-debug-or-view-logs-in-google-app-scr... https://stackoverflow.com/.../appscript-webapp-hyperlink-not-working-the-... https://stackoverflow.com/.../serve-separate-html-pages-google-apps-script-...
You can
bl...@google.com <bl...@google.com> #3
Automated by Blunderbuss job workspace-devrel-public-issue-tracker-blunderbuss-autoassigner for config assign for component 191640.
zo...@gmail.com <zo...@gmail.com> #4
function doGet(e) {
switch (e.parameter.route) {
case "info":
return ContentService.createTextOutput(JSON.stringify(e, null, 1));
case "getlist":
return ContentService.createTextOutput(
JSON.stringify(getList())
).setMimeType(ContentService.MimeType.JSON);
default:
return ContentService.createTextOutput("default");
}
}
It turned out via e.parameter But, pathInfo requires authorization
Description
Before opening a new issue, please search for other related issues , click the ★ to subscribe to updates, and click
+1
to vote.Description
Once published, the web app requires authorization via a Google account. This is only necessary if the request comes from a browser that doesn't have authorization. Although I set up running the app on my own behalf and granted access to all.
What could be the problem, there was no such thing before. You could make a request, and the script returned data.
Code
Output
GET /macros/s/AKfycbxbbuATdKHRTNwOxXK6VV_t6XjDr7MC1m6o787SvteZes7I_OeE5GEpHILZsx6f4fVB/exec/getlist HTTP/1.1 Content-Type application/json Host script.google.com User-Agent HTTPie
Sign in Use your Google Account
Email or phone Forgot email?
Steps