buybutton.js SDK Fetch Failed

hellosillypanda
New Member
2 0 0

I'm trying to implement the buy-button on our site using the buy-button-js library with some advanced customization following the documentation: http://shopify.github.io/buy-button-js/advanced/

 

I get an error when it tries to load a product. It was working fine until just recently and then I get this js error:

 

buybutton.js:15725

Error: SDK Fetch Failed
at Product.sdkFetch (buybutton.js:13343)
at Product.fetchData (buybutton.js:13355)
at Product.setupModel (buybutton.js:12570)
at Product.setupModel (buybutton.js:13322)
at buybutton.js:12541

 

I couldn't find anything about it or any outage info. Any ideas?

 

Using version 2.1.0: https://sdks.shopifycdn.com/buy-button/2.1.0/buybutton.js

 

0 Likes
hellosillypanda
New Member
2 0 0

Ugh, it was a coding issue. I changed how I was passing some parameters and messed things up. All good now :/

0 Likes
Gardian
New Member
1 0 0

I am getting this exact same error, but can't figure out what I am doing wrong. Do you remember what you had to change?

0 Likes