Product images via REST api - url gives 404

New Member
7 0 0

I am getting the product from the rest api with their images. A lot of the images returned by the API have URLs that are resulting in 404's. I have a public application, this is happening with many different stores.

 

Why would that happen from Shopify? Any workarounds besides loading each image server side to detect if it exists or not - which would be really slow to validate all these images.

0 Likes
Highlighted
Shopify Expert
9781 52 1396

Do you have an example product json response you can share?

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
New Member
7 0 0

Nonissue - To close this thread figured out my issue, I had a bug in sync. Where the deleted images were not being deleted from my system. That is what was causing the "broken" images. They should have been deleted from the system instead.

0 Likes