No secret Shopify storefront API token was defined. This means your app will be rate limited!

Shopify Partner
1 0 0

I have a Shopify Storefront built on Hydrogen, that is hosted on GCP. It usually works perfectly, but after a while, it randomly starts crashing and these errors appear in the console (they appear at random, and not altogether).


I've asked ChatGPT what the source may be, and it seems to be the rate limiter that Shopify Storefront API employs.


WhatsApp Image 2023-03-20 at 4.34.16 PM.jpegWhatsApp Image 2023-03-20 at 4.40.30 PM.jpegWhatsApp Image 2023-03-20 at 4.34.42 PM.jpeg

I'm assuming that I need to add a secret key to some config file somewhere in my code, but can't figure out where. Does anyone know how to solve this issue? Much appreciated!

Replies 0 (0)