#andrelum-webhook

1 messages · Page 1 of 1 (latest)

earnest socket
#

hi there! which line of your code is returning a http 400? Can you share the snippet?

knotty bronze
#

hi, when I try to copy stripe's request body and send it to my endpoint manually, I get this response: [
"HTTP_STRIPE_SIGNATURE"
]

#

also, I have already changed the invalid payload and invalid signature response status to 401 and 402 respectively so it shouldnt be those

#

if my endpoint has an exception otherwise, the status in the response should be 404 as well, not 400

earnest socket
#

i'd suggest adding logs and tracing through each line of your code (or use a debugger) to find out which line of code is returning the 400 error

#

we'd first need to know that before seeing how we can resolve the issue

knotty bronze
#

alright