question

jimmybriggs avatar image
jimmybriggs asked jimmybriggs commented

Sandbox down again?

Trying to develop an urgent solution, The sandbox was down earlier this week, I was getting 200's back yesterday and this morning. Now I am getting a 502 bad gateway error. Please advise as we urgently are working to develop solutions and must be able to test/view/work against an API that models production which would be preferably stable.

1698425333937.png

ecommerce
1698425333937.png (60.3 KiB)
3 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image bryanvargas ♦♦ commented ·
I just ran the checkout API and its works fine, please try again
0 Likes 0 ·
jimmybriggs avatar image jimmybriggs bryanvargas ♦♦ commented ·

I am still getting a 502 bad gateway. I went back into my dev sandbox and the token changed from yesterday to a new value. Is this normal/expected? I believed the token would remain static from https://sandbox.dev.clover.com/setupapp/m/<MERCHANT ID>/ecomm-api-tokens

I changed the token to match and I am able to get data back if I hit https://sandbox.dev.clover.com/v3/merchants/
200, success

If I try to post to : https://sandbox.dev.clover.com/invoicingcheckoutservice/v1/checkouts
I get a 502 bad gateway, I have confirmed the token and merchant ID match (which is how I discovered that the token was changed since yesterday)
We still get 502 with the new token

payload:

 {"customer":{"firstName":"First","lastName":"Last","email":"some_email@example.com"},"shoppingCart":{"lineItems":[{"price":1,"name":"test","unitQty":1}]}}
0 Likes 0 ·
jimmybriggs avatar image jimmybriggs jimmybriggs commented ·

I am now getting sessions back 200, no longer having issues.

I did not make any changes that I am aware of.

Is the token suppose to change on it's own in the configuration dashboard? I believed this was to be a static value:

1698436584647.png

0 Likes 0 ·
1698436584647.png (95.5 KiB)

0 Answers

Welcome to the
Clover Developer Community