#BrianC-endpoint-checkout

1 messages · Page 1 of 1 (latest)

regal sequoia
#

Hi there, let me take a look.

royal harbor
#

It just showed up. Maybe a long delay?

regal sequoia
#

I'm seeing 400s from your server

royal harbor
#

Getting a 400 error. Strange.

regal sequoia
#

But that does indicate it is getting to your server

#

What does your handler code look like?

royal harbor
#

Works fine locally using CLI so possibly network.

#

Why such a long delay to see a 400 error. Took almost 20 min to register in the dashboard

#

Also not seeing anything in the server logs so I'm guessing network issue/

#

?

regal sequoia
#

Hmm shouldn't be that long of a delay.

#

I don't think it should be a network issue. Your server is receiving the event and just not returning a 200

#

Are you using an endpoint secret?

#

The secret for directly hitting your server versus forwarding from the CLI would be different

#

That can often lead to the 400 response

royal harbor
#

Ah. that might be it

regal sequoia
#

I'd recommend adding a log right at the beginning of your endpoint to see if the request is hitting that code, prior to the verification flow

royal harbor
#

Yes. Good idea