Error with ShopifyShop

We’re seeing a runtime error in our production app related to the ShopifyShop model. Specifically, Gadget is throwing an error when we attempt to fetch or update the model, due to a field called checkoutApiSupportedBackup being requested. We haven’t explicitly selected this field in our code, so it may be coming from the default selection in the generated packages. This is causing downstream issues where customer API tokens aren’t being set properly, breaking parts of the app flow (e.g. onboarding and paywall access). We’re planning to try regenerating the npm packages and redeploying to see if that resolves the default field selection. If not, we’ll try manually selecting specific fields when querying the ShopifyShop model. Wanted to check if this field (checkoutApiSupportedBackup) was recently removed or changed on your end, and if there’s anything else we should update in the model configuration. Did anything change in gadget/mantle that it started breaking ?
No description
8 Replies
OllieEvans
OllieEvans2mo ago
We also had the same issue. For me, it just needed a live deployment as the backup field was removed in the shopifyShop schema for development but not in prod. I maybe wrong, but think it might be related to the email I/we received on the 6th titled "Important Update: Recent Maintenance and GraphQL Schema Correction"
No description
[Gadget] Kyle
[Gadget] Kyle2mo ago
@Tanmay are you still observing this problem? @OllieEvans what is the name of your app? Are you still having issues?
OllieEvans
OllieEvans2mo ago
After deploying I'm not having any issues. And the name of my app was prebuy if you need it for reference.
Tanmay
TanmayOP2mo ago
Name of the app is "Editify-Gadget" what caused this issue we spent 4-5 hours trying to debug this on our end yesterday 🙁 @[Gadget] Kyle
[Gadget] Kyle
[Gadget] Kyle2mo ago
apologies, we sent an email to all app owners that we believed were impacted; I will send you a DM with the details so so sorry for the inconvenience
tedyw
tedyw2mo ago
Hello, I seem to have this issue too in production. I have tried to re-deploy without success. The name of the app is "market-price-converter"
muchi
muchi2mo ago
Hm it seems your development environment has the field configured correctly so the deploy should fix this issue if it was happening to your production environment! Do you have a trace id you can share so we dig a little deeper?
tedyw
tedyw2mo ago
Thank you for your response Jenny! For some reason it started working now. No idea why this didn't work yesterday. Anyway, here is a trace id: aebe120fb423702507ef563a70f2e786

Did you find this page helpful?