Hi everyone,
I’m trying to connect Bubble to a Google Apps Script web app via API. I have a doPost
function in my script that should save lead data to a Google Sheet. I set up the web app with POST method and JSON headers, and the GET requests work fine.
However, whenever I try to send a POST request from Bubble (or even using Postman), I keep getting a 405 error.
I’ve checked that:
-
The
doPost
function exists and the script is deployed as a web app. -
The app is set to execute as me and anyone can access it.
-
Bubble is sending JSON with proper headers.
I’m not sure what I’m missing. Could it be something in Bubble, the web app URL, or the request setup?
Any advice would be greatly appreciated!
Thanks!