# GraphQL results on website module

**URL:** <https://community.hubspot.com/t/graphql-results-on-website-module/143464>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [November 28, 2025, 7:56am UTC](https://community.hubspot.com/t/graphql-results-on-website-module/143464 "2025-11-28T07:56:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Louis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/_louis/32/209174_2.png) [@\_Louis](https://community.hubspot.com/u/_Louis)\
**Post date:** [November 28, 2025, 7:56am UTC](https://community.hubspot.com/t/graphql-results-on-website-module/143464/1 "2025-11-28T07:56:33Z")

</div>

I’m following the instructions here [Use data from a GraphQL query in your website pages - HubSpot docs](https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/use-graphql-data-in-your-website-pages#bind-a-data-query-to-a-module) attempting to create a listing page that runs off data in a graphQL query.

Unfortunately, I cannot get the module to display any results.

 ![_Louis__1-1764316545453.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/4/74da2856f14e00b4ff3db0c97ec5a9f2cc254e16.png)

 ![_Louis__0-1764316506610.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7cf0166eeeb8eb4ec44d6d27b6c0d3f645bfac2b.jpeg)

When I test the query in GraphiQL it works as expected, returning results.

 ![_Louis__0-1764316805474.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/c/cc8f00ce4f447b7970292ea2e6ccafeee465a28e.png)

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [November 28, 2025, 1:33pm UTC](https://community.hubspot.com/t/graphql-results-on-website-module/143464/2 "2025-11-28T13:33:09Z")

</div>

Hey [@\_Louis\_](https://community.hubspot.com/t5/user/viewprofilepage/user-id/984767) 👋 and Happy Friday!  
Thanks for reaching out to the HubSpot Community!  
I’d like to share some resources that might help:  
- [Query HubSpot data using GraphQL](https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/query-hubspot-data-using-graphql)  
- [Build a recruiting agency website using GraphQL](https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/build-a-recruiting-agency-using-graphql)  
Now, let’s consult our Top Experts: Hi @Teun, @MichaelMa and @RubenBurdin do you have suggestions to help [@\_Louis\_](https://community.hubspot.com/t5/user/viewprofilepage/user-id/984767), please?  
Have a wonderful weekend and thanks so much!  
Bérangère

---

<div class="post-metadata">

**Author:** ![RubenBurdin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rubenburdin/32/75212_2.png) [@RubenBurdin](https://community.hubspot.com/u/RubenBurdin)\
**Post date:** [November 28, 2025, 5:26pm UTC](https://community.hubspot.com/t/graphql-results-on-website-module/143464/3 "2025-11-28T17:26:40Z")

</div>

Hi [@\_Louis\_](https://community.hubspot.com/t5/user/viewprofilepage/user-id/984767)

I’ve run into this a few times, and the behavior you’re describing almost always comes down to scope or context rather than the query itself.

The GraphiQL console runs in the account’s full context, but a module only returns results if the query is defined inside that module and exposed through the data\_query tag in the module HTML. If the tag isn’t present, or if the query name doesn’t match exactly, the module simply renders nothing even though the query works in isolation

([Fetching data - HubSpot docs](https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/data-fetching) )

Another thing to double-check is where the module sits. Queries only execute in “page” or “template” contexts, not in global partials or header/footer includes. If the module is nested inside something that prevents a data fetch, it will silently fail.

You can confirm this quickly by dropping the module directly onto a blank test page and seeing if results appear. If your listing page also needs to reflect data changes from an external system, Stacksync keeps those objects aligned in real time so your GraphQL module always pulls up-to-date values.
