# Module Error when trying to add item

**URL:** <https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [May 15, 2024, 1:27pm UTC](https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206 "2024-05-15T13:27:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SPelamourgues](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@SPelamourgues](https://community.hubspot.com/u/SPelamourgues)\
**Post date:** [May 15, 2024, 1:27pm UTC](https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206/1 "2024-05-15T13:27:36Z")

</div>

Hello,

I’m getting an error when trying to add a item with a module (based on a simple title loop) : when i click on "+ add " link

react-dom.production.min.js:189 TypeError: Cannot read properties of undefined (reading ‘hs\_meta’)  
at ce.renderValue (OccurrencesTable.tsx:282:27)  
at Array.map (\<anonymous\>)  
at ce.renderValues (OccurrencesTable.tsx:323:28)  
at ce.render (OccurrencesTable.tsx:406:53)  
at qu (react-dom.production.min.js:204:189)  
at Uu (react-dom.production.min.js:203:149)  
at Ls (react-dom.production.min.js:292:172)  
at zl (react-dom.production.min.js:280:389)  
at jl (react-dom.production.min.js:280:320)  
at Tl (react-dom.production.min.js:280:180)  
at El (react-dom.production.min.js:273:245)  
at ei (react-dom.production.min.js:127:105)  
at Ol (react-dom.production.min.js:274:82)  
at Ae (react-dom.production.min.js:52:375)  
at eo (react-dom.production.min.js:109:469)  
at rn (react-dom.production.min.js:74:59)  
at tn (react-dom.production.min.js:73:73)  
at HTMLDivElement.o (raven.js:363:21)  
at HTMLDivElement.nrWrapper (VM21 104780453196:3:30816)

Thanks for your help

 ![Capture d’écran 2024-05-15 à 15.25.17.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/4/f4513ba95f43633c371507d7be92ff0e15bca47c.png)

 ![Capture d’écran 2024-05-15 à 15.25.14.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/4/b4d847d81f4d977797c10ca142aff4160813d428.png)

---

<div class="post-metadata">

**Author:** ![Endhrakumar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/endhrakumar/32/34299_2.png) [@Endhrakumar](https://community.hubspot.com/u/Endhrakumar)\
**Post date:** [May 15, 2024, 7:37pm UTC](https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206/2 "2024-05-15T19:37:42Z")

</div>

Hi there!

Not sure on this, check in backend if it has any error. If you are using any hubl tags or html tags or some other specialcases it might be throw some errors.  
If need assistance please feel free to reach out custom support to log a ticket. or connect with me in DM will resolve on it.  
Thank you! Happy HubSpoting!!

---

<div class="post-metadata">

**Author:** ![SPelamourgues](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@SPelamourgues](https://community.hubspot.com/u/SPelamourgues)\
**Post date:** [May 16, 2024, 5:49am UTC](https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206/3 "2024-05-16T05:49:34Z")

</div>

Thanks for your reply

I tried to remove all hubl code and not working better

What is weird is that previewing of the module is working perfectly (i can add, delete, etc…) and is not triggering th Js error (about hs\_meta). The issue when update the module through the blog article

---

<div class="post-metadata">

**Author:** ![JTBuys](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jtbuys/32/62318_2.png) [@JTBuys](https://community.hubspot.com/u/JTBuys)\
**Post date:** [May 20, 2024, 7:07pm UTC](https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206/4 "2024-05-20T19:07:05Z")

</div>

@SPelamourgues, I am experiencing the same issue. It is also occurring with a new, empty module. I can replicate the issue with the steps below:

1. Creating a new custom module available to blog posts
2. Add a text field and turn on repeating
3. Publish the module
4. Add the custom module to a blog post
5. Click to add a text field repeater item
6. The editor will break and throw the error described previously
7. Refreshing the page will not fix the error and that instance of the module will not be usable

This is occurring in every portal I have access to.

---

<div class="post-metadata">

**Author:** ![SPelamourgues](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@SPelamourgues](https://community.hubspot.com/u/SPelamourgues)\
**Post date:** [May 21, 2024, 5:03am UTC](https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206/5 "2024-05-21T05:03:18Z")

</div>

I have contacted Hubspot support yesterday

They didn’t find anything wrong in my module etc..

The problem seems to be on their react sides

They are investigating

---

<div class="post-metadata">

**Author:** ![SPelamourgues](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@SPelamourgues](https://community.hubspot.com/u/SPelamourgues)\
**Post date:** [May 21, 2024, 7:46pm UTC](https://community.hubspot.com/t/module-error-when-trying-to-add-item/107206/6 "2024-05-21T19:46:07Z")

</div>

Hubpost just emailed me

they fixed the problem (great support team 🙂 )
