Webhook to Google Apps Script always fails with 302 / 500 in Glide

Hi everyone,

I’m trying to connect a Google Apps Script webhook to my Glide app using the “Trigger Webhook” action.

The Google Script is deployed as a Web App (Anyone can access) with the /exec URL.

  • When I test the URL in a browser or Postman, it works fine and returns {“ok”: true}.

  • From Glide, however, the webhook fails with:

    • 302 redirect most of the time

    • Sometimes 500 server error

  • The request body includes: title, category, notes, target_profit, shipping, row_id.

Has anyone successfully used Glide webhooks with Google Apps Script, or found a workaround for this redirect/error problem?

Thanks so much!

Hi mags, this error is not new and it’s not really an “error”.

This is because of a security change made by Google which disallows API calls / webhook triggers from cross - origin platforms. This is not going to change and we suggest you move your code base / api to something like replit.

learn more here: Google Issue Tracker

2 Likes

Thanks for the quick reply :blush:

1 Like

I usually go with replit or sometimes just build whatever API i need with glide workflows as well.

holler if you need help!