Why does ResourcePicker display stale data after product image update?

Veronika3
Shopify Partner
1 0 0

Hello everyone,
I’m using the AppBridge ResourcePicker to select products. I’ve encountered an issue: when I update the product image through the Shopify API and then select that product using the ResourcePicker (without refreshing the app after editing the product), the ResourcePicker continues to return old data. In the ResourcePicker itself, the old product image is displayed. However, when I navigate to the URL obtained from the ResourcePicker, I receive a 404 error.

 

Here is the product after updating:

1.png

 

Here is the Resource Picker after updating the product:

2.png

 

This is the data I’m receiving from the Resource Picker:

3.png

 

And the 404 error when trying to access the URL provided by the ResourcePicker:

4.png

Replies 0 (0)