How can I add bundles to Storefront API on my website?

Hello Shopify Community,

I’m encountering an issue with the Storefront API while trying to retrieve bundles for my Shopify store on my website. Despite successful retrieval on the Shopify GraphiQL app, I’m facing a problem where the console log on my website displays no response.

Belows are the screenshots that shows my shopify graphiql app and it’s showing products but another screenshot is of my console terminal which shows no reponse here for the same query.

I would greatly appreciate any insights or guidance on resolving this issue. Your expertise and suggestions would be immensely helpful.

Thank you in advance for your time and support!

Hey! This was posted a while ago so this response comes a little late (pun intended), but if I’m not mistaken, I think it looks as if maybe you didn’t add “await” in from of the function. However that part of the code is not visible so I can’t tell but worth checking.