Why am I getting a 'Dynamic source is invalid' error in my online store?

Hi!

I was creating a new metaobject for our store for a simple icon highlight banner, containing icons/titles/multi-line texts. For some reason I’m getting a “Dynamic source is invalid” error when trying to connect the values to the theme. I get the error for all contents, images and texts. Only the color dropper values come trough correctly for the background and text colors.

Any idea what might cause this? I have created several metaobjects the exact same way, and can’t see anything wrong in this one.

Have you seen a similar error and figured out what causes it?

Thanks for any help!

Thomas

Ok, I figured out the answer to this - and will leave it here if anyone else has the same problem:

seems that the Metaobjects do not support numerals at the beginning of the handle.

So, you can have description_1 but you can’t have 1_description or it will return an error.

  • Thomas
3 Likes

Hi Thomas,

Thank you so much for posting this answer! I have been going crazy trying to figure this out, and I was getting the same error over and over again, even though nothing was wrong with my metaobject or the metafield reference. However, I DO have a numeral ath te beginning of the handle. Yay! Thanks!