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

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

shihabshahriyar
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!

Reply 1 (1)

alvaro-rs
Shopify Partner
5 0 0

Hello!

 

I'm having the same issue causing my client site to crash randomly.

Do you found a solution?