# Checkout API "preview link" not working

**URL:** <https://developer.squareup.com/forums/t/checkout-api-preview-link-not-working/8103>\
**Category:** Questions\
**Tags:** checkout-api\
**Created:** [January 3, 2023, 6:16pm UTC](https://developer.squareup.com/forums/t/checkout-api-preview-link-not-working/8103 "2023-01-03T18:16:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitchelltech5](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/mitchelltech5/32/1682_2.png) [@mitchelltech5](https://developer.squareup.com/forums/u/mitchelltech5)\
**Post date:** [January 3, 2023, 6:16pm UTC](https://developer.squareup.com/forums/t/checkout-api-preview-link-not-working/8103/1 "2023-01-03T18:16:30Z")

</div>

hey all,

Ive been working on building out a checkout api flow for my application, but some reason i cant seem to “Preview Link” in sandbox mode. Chrome keeps giving me the following error:

checkout.square.site sent an invalid response.  
ERR\_SSL\_PROTOCOL\_ERROR

i have also tried this by creating a basic checkout API link using the API explorer.

 ![Capture](https://global.discourse-cdn.com/square/original/2X/0/0dd0fc0c089284d1c216e9caa283d3eb84b0f543.png)  
 ![Capture1](https://global.discourse-cdn.com/square/original/2X/0/0e7610ceba02ab4c0a58ea134442c1d6d1887bf8.png)

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [January 3, 2023, 6:22pm UTC](https://developer.squareup.com/forums/t/checkout-api-preview-link-not-working/8103/2 "2023-01-03T18:22:14Z")

</div>

What’s the link that your getting this error with or the CreatePaymentLink request that was used to generate the link? 🙂

---

<div class="post-metadata">

**Author:** ![mitchelltech5](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/mitchelltech5/32/1682_2.png) [@mitchelltech5](https://developer.squareup.com/forums/u/mitchelltech5)\
**Post date:** [January 3, 2023, 8:10pm UTC](https://developer.squareup.com/forums/t/checkout-api-preview-link-not-working/8103/3 "2023-01-03T20:10:54Z")

</div>

actually i figured it out with some help from Square ECOM team. they suggested trying to open the link via 5G or some other internet service. that seemed to work. so they suggested it might be my ISP.

believe it or not, it was my ISPs DNS servers. once i switched by DNS servers (on my router) to Google DNS, the link worked perfectly.

This information really should be added to Squares ECOMs teams guidelines, since this would be helpful, since i think a lot of people don’t natively think about their DNSs

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [January 3, 2023, 9:09pm UTC](https://developer.squareup.com/forums/t/checkout-api-preview-link-not-working/8103/4 "2023-01-03T21:09:02Z")

</div>

Glad to hear that worked. Thanks for sharing your findings. 🙂
