Hello,
I’m hoping to get some developer insight into an issue with the HTTP Action.
The Problem:
Every single HTTP POST request I make to my Google Apps Script web app is logged with a 405 Method Not Allowed error.
The Key Finding:
Despite the logs showing a 100% failure rate, I have verified in my destination Google Sheet that 100% of the events are actually being captured and logged successfully. The integration works perfectly, but the error logs are incorrect.
Troubleshooting We’ve Completed:
Based on the evidence, this appears to be a cosmetic logging bug within SharpTools. We have already proven the following:
-
The SharpTools HTTP Action is correctly configured to use POST.
-
The Google Apps Script endpoint correctly uses a doPost(e) function, which requires the POST method.
-
The issue occurs on all rules and even on a brand new, minimal, single-function test script, proving it is not a problem with my code.
-
The issue occurs with brand new deployment URLs and on different Google accounts.
Hypothesis:
This evidence points to an issue with how the SharpTools proxy/logger handles the standard HTTP 302 redirect from Google. The script is succeeding and returning a 200 OK status, but it seems the SharpTools logger is only seeing an error state from the initial redirect and is not recording the final, successful response.
Could a developer please look into this? It seems the logger isn’t correctly handling the final status code after following a 302 redirect for POST requests.
Thank you for your help!