Metaobject handle in lowercase on some stores

Hey! I see some strange issues with the metaobject handle.

We have metaobject, and query it in the Liquid section with handle like this: widget_5gRZ6koK4iZL135. As you can see, there are letters in uppercase and lowercase.

On one store, I found out that querying metaobject with this handle returned zero results. But if I change the handle to lowercase, everything works fine.

In the liquid, I access to the metaobject like this:

{{ assign widget_id = "widget_5gRZ6koK4iZL135" }}
{{ shop.metaobjects['app--12345--storista_products'][widget_id] }}

I tested it on my store with the production app; everything was ok.

Is there a possibility that metaobject handles will be in lowercase in some cases (stores)?

Hi Irek,

I believe metaobject handles are case-sensitive, which is why you’re seeing this - but let me doublecheck that with our internal team.

Hi again Irek,

I’ve confirmed with the custom data team that metaobject handles are case-sensitive.

Ensure that you use the exact case as defined in your metaobject setup to avoid any discrepancies or errors in data retrieval.

Yeah, I understand that. The issue is that on one store handle should be “a1a1b2” instead of “A1A2B2”, even if I’m using “A1A2B2” to save metaobject with this handle.