poshify-utilities
poshify-utilities copied to clipboard
Cannot load Shop metafields
Description
- Selecting the
Shop
option from the dropdown in the editor results in an infinite loading screen.
Environment
- macOS Big Sur Version 11.2.2
- Chrome Version 89.0.4389.82 (Official Build) (x86_64)
I've tried this on multiple shops and it's working correctly.
I suggest that you should first try logging out and logging in again, it may help.
If not, please tell me:
- Do other resources are working correctly?
- Before selecting the
shop
option, open up the browser dev tools and watch the network tab. Then select theshop
option and see if the ajax request is successful or not? If not, what error/status code is it?
Looking at the Network tab as you suggested, after I click on Shop it just continuously repeats the calls, as shown in the image below:

The responses are 200 but for some reason it keeps repeating? I have tried unmounting/mounting the app and also removing completely and re-adding.
Okay. Can you tell me how many metafields are there on the shop
resource?
You can get the total count from here:
https://change-this-handle-to-your-shop.myshopify.com/admin/api/2020-10/metafields/count.json
Don't forget to change the myshopify subdomain to the correct shop.
I think the shop has too many metafields. We currently fetch all the metafields, assuming there will be 5 or fewer pages.
37150 😵
Thanks for reporting this. That's an edge case for sure. I'll add a "load more" button if there are > 2000 metafields. Hopefully within the next month!