# Issue on not fetching posts using blog functions

**URL:** <https://community.hubspot.com/t/issue-on-not-fetching-posts-using-blog-functions/120002>\
**Category:** CMS Development\
**Created:** [November 7, 2024, 11:49am UTC](https://community.hubspot.com/t/issue-on-not-fetching-posts-using-blog-functions/120002 "2024-11-07T11:49:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miteshpatel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miteshpatel/32/27089_2.png) [@miteshpatel](https://community.hubspot.com/u/miteshpatel)\
**Post date:** [November 7, 2024, 11:49am UTC](https://community.hubspot.com/t/issue-on-not-fetching-posts-using-blog-functions/120002/1 "2024-11-07T11:49:17Z")

</div>

We have used different functions as follows:

- content\_by\_id
- blog\_recent\_posts
- blog\_popular\_posts
- blog\_recent\_tag\_posts
- blog\_popular\_tag\_posts

All these by always module choice options on different locations on a webpage using sections.

We have hidden modules: header options for pages to choose normal header with navigation or landing header. We have used in above functions in the header module also to retrieve specific content as per customer choice. So when we use landing option for the header type, fetching of blog posts works, but when we keep normal website header navigation it does not featch no random instances.

Can we know what is exact issue behind these? Is that issue with blog functions call limit per page? or something weird happens there. In above link example, we have used Blog module two times to fetch various blog feeds as per customer requirement. and content\_By\_id functions two times in the global header module to fetch blog post as per needs.

---

<div class="post-metadata">

**Author:** ![GiantFocal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/giantfocal/32/41969_2.png) [@GiantFocal](https://community.hubspot.com/u/GiantFocal)\
**Post date:** [November 8, 2024, 10:23am UTC](https://community.hubspot.com/t/issue-on-not-fetching-posts-using-blog-functions/120002/2 "2024-11-08T10:23:07Z")

</div>

Hi @miteshpatel,

Please double-check the blog hubL function variable name.

Make sure the variable names are unique.

---

<div class="post-metadata">

**Author:** ![miteshpatel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miteshpatel/32/27089_2.png) [@miteshpatel](https://community.hubspot.com/u/miteshpatel)\
**Post date:** [November 8, 2024, 12:02pm UTC](https://community.hubspot.com/t/issue-on-not-fetching-posts-using-blog-functions/120002/3 "2024-11-08T12:02:32Z")

</div>

We found the mistake in the module code. This is solved from our end.
