#daniel_webhooks

1 messages ยท Page 1 of 1 (latest)

quartz windBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1425574337074696373

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

daring sleet
#

Hi there

#

Seems like you are redirecting to hit your endpoint here

#

That is likely happening at your server-level

#

You can't have any redirect of the Webhook or it will fail, it must be delivered directly to your endpoint

#

Might be necessary to reach out to Google about this in terms of how to prevent a redirect

mossy solar
#

Can't you cancel this error, since I added the link from Apps Script to the Stripe endpoint and everything is working correctly?

daring sleet
#

That's.... not how it works ๐Ÿ˜…

#

You can't just "cancel an error"

mossy solar
#

Stripe responds correctly and sends the information. The whole problem is that 302 error.

daring sleet
#

For our Webhook security it is required that there is not a redirect performed.

#

That 302 comes from your server

#

When it receives the Webhook it is redirecting where it is sent to.

#

That results in a 302 response from your server.

#

You have to fix this by preventing your server from redirecting the Webhook

#

I can't tell you how to do that.

#

You'll want to reach out to your hosting provider (sounds like Google) here for help if you need help

mossy solar
#

I can't find a way to contact Google... That's why I came here, to get an effective solution.

daring sleet
#

Yeah I'm sorry I can't really help you any further here. The only solution is that you fix this at your server level.

mossy solar
#

It's very strange that everything works and yet error 302 appears. Very strange.

daring sleet
#

Forgot we have an actual article that explains this

#

That actually does have a couple things you could try in terms of what might be causing the redirect