Hi everyone,
I’m running into a critical issue with an Apps Script Web App that appears to be a platform-level/runtime failure.
SUMMARY
Any POST request to my Web App’s /exec endpoint returns:
500 — Google Docs encountered an error
…with a full HTML Docs error page.
However:
doPost()never runs- Nothing appears in Executions log
doGet()works fine- This happens even with the simplest possible script
MINIMAL REPRODUCTION
Code.gs:
function doPost(e) {
return ContentService
.createTextOutput(JSON.stringify({ status: “ok”, received: e.postData.contents }))
.setMimeType(ContentService.MimeType.JSON);
}
function doGet(e) {
return ContentService.createTextOutput(“hello”);
}
DEPLOYMENT
- Deploy as Web App
- Execute as: Me
- Who has access: Anyone
- Endpoint ends with
/exec - Workspace Admin Console settings:
- “Unconfigured third-party apps”: Allow users to access any third-party apps
- Internal apps: Trusted
- No API restrictions
- App access control wide open
WHAT HAPPENS
- GET → Works (“hello”)
- POST (via curl, Postman, or external service) → Always returns the same 500 Docs error HTML page.
- doPost() is never triggered.
- No execution logs.
- No errors in the script editor.
Example curl:
curl -X POST -H “Content-Type: application/json”
-d ‘{“test”: true}’
“YOUR_EXEC_URL_HERE”
Response: Google Docs 500 HTML page.
WHAT I HAVE VERIFIED
- Not a Workspace policy issue (confirmed by Workspace Support)
- Not an OAuth or app-trust restriction
- Script does not use Docs/Sheets/Drive APIs
- Re-deployed multiple times
- Tried brand new Apps Script projects (same result)
- Logs show nothing — POST never reaches Apps Script runtime
CONCLUSION
This seems like:
- A backend Apps Script Web App routing problem, OR
- Corrupted internal metadata for my account/project, OR
- An Apps Script platform-level bug affecting POST requests specifically
REQUEST
Could someone from the Apps Script engineering team or Google staff please inspect the backend logs for this Web App deployment?
This is blocking all POST-based integrations.
Happy to provide:
- Web App URL
- Timestamp of failing POST
- Screenshots of Admin settings
- Script project ID
- Any additional details needed
Thank you!