Custom code module in saved sections does not work

Hello folks,

I have a more technical question, so I’m hoping, that I’m here right.

I have coded an email module. I used it in an email and filled it with content. Then I saved it as “saved sections”. If I then want to use this saved module in another e-mail and pull it from the “saved sections” into the e-mail, then there are no fields on the left side, just the note “Missing module”.

But if I then pull in the empty module and then click the module from “saved sections” again, then the fields can be seen again.

I’m not sure if this is a HubSpot bug, or if I’m missing something, like adding some snippet in the code.

Have you had a similar experience, or does anyone know what could be the problem?

Any help is really appreciated!

Thanks in advance!

Cheers

mainata