error making API call to Shopify for shop

I got so much error log like that. ( 100 per day ) TrackId: e604cf5bd4d672c72505d42f0f5183fd App: Lookfy ( production ) error making API call to Shopify for shop GGT_SHOPIFY_FROZEN: Unable to access shop GGT_SHOPIFY_UNAVAILABLE: Unable to access shop
No description
15 Replies
forslunds
forslunds3w ago
those are shops that has installed your app and currently are blocked by shopify until they pay over due money, in other words.. you dont earn money from them so maybe change your logic to ignore those shops
Chocci_Milk
Chocci_Milk3w ago
If you want to uninstall your application from those stores, you can do that using the button on the installs page (in the 3 dots)
ngohongnguyen
ngohongnguyenOP3w ago
Is there a way to suppress this error or log it as a warning instead? It's making the error log harder to read.
Chocci_Milk
Chocci_Milk3w ago
No, the error is a return from Shopify. We throw the error so that people are aware. Why would you want to suppress it instead of addressing the issue? You're getting charged request time for shops that shouldn't even be using your application
ngohongnguyen
ngohongnguyenOP3w ago
GGT_SHOPIFY_FROZEN. I dont understand. shopify frozen merchant. and I cant do anything with it? its webhook from shopify. are you have any idea for it?
Chocci_Milk
Chocci_Milk3w ago
You can uninstall your application from their store using the the 3 dots on the installs page:
No description
ngohongnguyen
ngohongnguyenOP3w ago
but they can back in someday.
ngohongnguyen
ngohongnguyenOP3w ago
No description
ngohongnguyen
ngohongnguyenOP3w ago
Its why i dont uninstall it
Chocci_Milk
Chocci_Milk3w ago
In that case, you should simply ignore the errors
ngohongnguyen
ngohongnguyenOP3w ago
but. its harder to read I need scroll so much and I cant find true error
Chocci_Milk
Chocci_Milk3w ago
Changing it to a warning won't make a difference. Filtering by error will still display the warning so you'll still need to scroll
ngohongnguyen
ngohongnguyenOP3w ago
No description
ngohongnguyen
ngohongnguyenOP3w ago
{environment_id="98974"} | json | level=~"error" with this ill only see error log
Chocci_Milk
Chocci_Milk3w ago
Do you possibly have a scheduled action that runs over all shops? I've heard from the team that we shouldn't even be logging when a frozen, cancelled or fraudulent store's webhook comes in I checked the functionality of our logs and warnings will also be shown when changing the log level. That's what I was explaining above

Did you find this page helpful?