Hydrogen Errors

Hello,

I’m seeing a lot of Hydrogen errors in the runtime logs but I’m not sure where in my hydrogen storefront is making POST requests to /.well-known/shopify/monorail/unstable/produce_batch

Hey @Adrian_Nuyda :waving_hand: - that endpoint looks like an internal Shopify endpoint (for your shop’s Analytics functionality).

If you’re open to sharing your shop’s myshopify.com URL, I’m happy to look into this further for you though to see if we had any potential issues on our end. Hope to hear from you soon!

hey @Alan_G . Do you think it’s because I have a hydrogen store for shopping but redirect customers to our shopify theme’s account pages when they login via multipass? Both stores share the same domain but with different subdomains.

Ex:

Hydrogen store = www.main-store.com
Shopify theme = www.shop.main-store.com

Hey @Adrian_Nuyda , appreciate you following up here!

I can’t speak too much on internal processes, but just to clarify, those requests are from Shopify’s Storefront Analytics (using a framework called Monorail).

I don’t believe Multipass or the redirect between your subdomains would be the cause here, but what I think is happening is that when there’s the POST API call to /.well-known/shopify/monorail/unstable/produce_batch there may be a disconnect between that URL being the correct endpoint that the analytics features need to point to or an issue when the call is being passed through Hydrogen.

Would you be open to a DM from me so we can look into this a bit closer so I can grab a few more details from you? Happy to reach out to our product team on this so we can investigate further.

hey @Alan_G.

Sure, please DM!

Sounds good @Adrian_Nuyda - I’ve sent the DM! I’ll loop back here once we have an answer we can share publicly in the thread in case it helps anyone else :slight_smile:

Hey @Adrian_Nuyda , just replying publicly here since it may help some other folks who might be seeing the same issue. We’re looking into this further on our end as it may be an intermittent issue with some Cloud infrastructure components. I can’t guarantee a turnaround time, but I’ll keep my eye on things for you and loop back once I have more info to share.