# "Error:Cannot resolve property" in module

**URL:** <https://community.hubspot.com/t/error-cannot-resolve-property-in-module/106049>\
**Category:** CMS Development\
**Tags:** html, enterprise\
**Created:** [April 29, 2024, 8:08pm UTC](https://community.hubspot.com/t/error-cannot-resolve-property-in-module/106049 "2024-04-29T20:08:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CPalacios5](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@CPalacios5](https://community.hubspot.com/u/CPalacios5)\
**Post date:** [April 29, 2024, 8:08pm UTC](https://community.hubspot.com/t/error-cannot-resolve-property-in-module/106049/1 "2024-04-29T20:08:14Z")

</div>

Hi, I’m trying to add a custom footer using modules.

This footer is currently used as a global group in a page template named “Container PE”.

 ![CPalacios5_0-1714420125396.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/c/8c6acb8f7f89324f3b14d11e8a8c15edb889171c.png)

Full template image:

 ![CPalacios5_4-1714420701085.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/d/5d6f583f29bdd1db91126204581ed7631337acfa.png)

I would like to add this footer as a module so it can be used on any drag-and-drop section.

So, I went and found the file in the explorer, as it shows:

 ![CPalacios5_1-1714420302804.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/2/22e1a482439b4b544f3874dc3a69247c28dff1a1.png)

As I copied its path “/generated\_global\_groups/36562281800.html” I realized that it was different than the path I expected it to be. I don’t know where the dir “/generated\_global\_groups” is as I couldn’t find it using the explorer.

Anyway, then I added the module using the “include” tag as follows:

 ![CPalacios5_5-1714420766804.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/7/37b4363ec8a2929a0e2c99e6bb038cb8d7d8d866.png)

Through the preview action, I can see that it works fine, as expected:

 ![CPalacios5_3-1714420659937.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/0/e03fe2b0bc845ae934d257344ddb9db4cd240bfb.png)

But, now I realize the editor is throwing error “Error:Cannot resolve property” in module "

 ![CPalacios5_6-1714420949325.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/c/ec5bb4f9bd9c8da2ed9102c70f4322bead05f432.png)

I don’t understand. The preview works just fine and the editor is finding the file in that location. This error prevents me from saving any additional change while it is not resolved.

Am I missing something? I just don’t want to create another template to use a different footer.

---

<div class="post-metadata">

**Author:** ![evaldas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evaldas/32/69160_2.png) [@evaldas](https://community.hubspot.com/u/evaldas)\
**Post date:** [April 30, 2024, 5:23pm UTC](https://community.hubspot.com/t/error-cannot-resolve-property-in-module/106049/2 "2024-04-30T17:23:56Z")

</div>

Hi @CPalacios5

This is a great description of the issue and screenshots are very helpful - thank you for including all of this.

Unfortunately, adding global groups or other modules inside of a module is not allowed, you can only do that at the template level (the code you used would work in a [HTML + HubL template](https://developers.hubspot.com/docs/cms/building-blocks/templates/html-hubl-templates)).

Since global groups also cannot be added to a page directly (only at the template level), you would need to re-create the global group as a global module in order for it to be available in the page editor.

Just to note, if you were to create this new global module for the footer, it would not be in sync with the original global group and you would either need to keep making updates to both of them or replace the original global group with your new global module in the existing templates.
