#simospa_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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/1271115642237354004
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
404 indicates that endpoint doesn't exist on that server
Have you tried hitting it with postman?
Likely you'll get the same
I'll try now, but what does it mean ? why locally it was working and the endpoint is triggered? the application are exactly the same
Something to do with how you deployed or configured your app
are you sure it's /stripe/event/listener and not /event/listener?
I'm sure about it yes and also because locally it was triggered with this listener: stripe listen --forward-to http://localhost:5050/stripe/event/listener
same
Yup
Not familiar with your deployment environment, so I won't be able to help much
You'll need to debug this
But something is wrong with your deployment and or configuration
even if everything locally is working correctly with the same application?
the app is written in Python with flask, the server is on aws and i use gunicorn
I mean yeah
You're hitting your deployed endpoint right there
And it's returning a 404
Something is wrong with the way you've deployed or configured the app
but if all the other endpoints deployed in the same way are working, is a problem of the single endpoint or something else?
but if all the other endpoints deployed in the same way are working
Are they? If so, then yeah it's some problem just with that endpoint
yeah all the app is working correctly beside for that endpoint
Yeah you'll need to debug why then. A 404 indicates that route is not found on your server
Something has to be different from your local setup, so you'll need to track down what that is
In the above code snippet you have @bp.route("/event/listener", methods=["POST"])
So where does /stripe/ in the path come from?
there is blueprint name stripe at the beginning of the page, all the other ep in the same route page are working correctly with stripe at the beginning
is just that ep that is not triggered
Yeah I don't have access to your dev environment, so no idea. You'll need to spend some time debugging this
if my api are published on the domain : https://api-test.toknox.com/ should I put this in the endpoint url?
ooooh that's was the error
great man, you made me reflect
thank you