Gadget Developers

GD

Gadget Developers

Build SAAS apps alongside thousands of other Gadget developers. Get help, and offer help to others in the community.

Join

Question about privateMetafield: false and API 2025-01 deprecation warning

After updating my app to API version 2025-01, I still see fields in schema.gadget.ts that contain the following configuration: `shopifyMetafield: { privateMetafield: false, namespace: "namespace",...
No description

How to deploy Gadget staging code to production without Shopify app deploy

Hi team, I have a deployment question. I’m using Managed install for my Shopify app. For certain reasons, I don’t want to run shopify app deploy right now....
No description

Auth access problems after migration to Shopify’s new Developer Platform

Hi gadget team & others, I hope you can help/guide me with the following. Yesterday I migrated my app to Shopify's new developer platform....

Computed views - Working in Dev env but always timeouting in Prod

Hey team, I have a view that aggregates some data. This view is working fine in Dev but timeouting in Prod, even on stores with very low dataset App: monster-store-credit.gadget.app...

How can I create draft order on gadget?

HI, guys, I need help. Nowadays, I am developing gadget project and currently I have one problem and I need solution. So, I have to create draft order on gadget using shopify graphql api. When I click any button, draft order must be created with some data on shopify store. How can I do?...

"You must be logged in" Error on Public API Route

Hello, I have a public API route that is still giving me a GGT_UNKNOWN: You must be logged in to create a recipient error, even though all of my permissions and code are set correctly. My public API endpoint is located at https://date-manager-event.gadget.app/api....

Computed views - Date cannot represent an invalid date-string

Hey there, I have a computed view which accepts Date parameters. When invoking it, I have the following error: ...
No description

Sharp increase in LCP for the last couple days - Have any recent Gadget deployments affected LCP?

Sharp increase in LCP for the last couple days - Have any recent Gadget deployments affected LCP?

Live data not working

Live data is not working, even though the WebSocket connection has been established. Thank you! App Name: PSU-IBS Asingan...
No description

CLI Token

Hello - I'm trying to generate a CLI token to use with Github actions. This is how the documentatoin states it's done: https://docs.gadget.dev/guides/environments/ci-cd#automated-deployment-using-a-ci-cd-pipeline "In the left-hand corner of Gadget click on your app profile menu....

Subscribing to development plans with Mantle

I know this is partly a Mantle thing, but I suspect my issue is that I'm not handling this scenario in a way that is compatible with what Gadget is expected. I've worked with the Gadget AI a bit but didn't get it resolved. When someone subscribes to a Development plan through Mantle, it does not return a confirmationURL property, so I've been trying to either use open() or location.reload() to handle the scenario. With the later, sometimes it works and sometimes I get my unauthenticated page. I suspect this is some kind of race condition with something happening in the backend that the frontend is not ready, or maybe I'm really missing what is happening....

Connect to the product gadget app

I configured the gadget app in my next.js project. I used this cmd. npm install @gadget-client/origami it was working well for development....

Compliance webhooks error.

Plz help me one. I'm using gadget and connected to shopify. when I try to publish the shopify app, I encountered this error. FYI: I already updatd the shopify.app.toml file in gadget. [webhooks]...
No description

node version 20.10.0 required for polaris

We need clarification on how we can upgrade Node.js to 20.10.0 from 20.9.0 for Polaris. We were not expecting to hit this type of issue with default Shopify dependencies.

Cron triggers not firing automatically in Production env?

I can manually execute tasks, and have some logging set up in my app to monitor cron actions (scraping processes etc), but nothing is running automatically. I have a few schedulers in the app that I was using adScheduler (should run every hour: "0 * * * *") timezoneAwareScheduler (should run every hour: "0 * * * *")...

Strategies to limit request time

We've been running out of request time quota regularly for the last few months. As you can see from the attached image most of our request time is for shopifyCollect sync. Some stores have have very large number of collections and its very expensive to keep everything in sync all the time. Can anyone recommend strategies that worked for yoiu to limit request time?...
No description

Why is there a 3 character minimum on Shopify meta filed names?

This seems kinda arbitrary, since shopify allows it. Is there anyway to get around this?
No description

Prevent Specific File Minification

Hello! Does anyone have experience in preventing specific files from being minified when deploying to 'production'? Or are there any specific Gadget methods in implementing? Running into an issue with SurveyJS and some custom styling/code that works great in my development and testing environments but then is completely different on the production environment. Thanks!...

Help: Updating Webhook API Versions in New Shopify Partners Dev Dashboard

Hey everyone! πŸ‘‹ I'm getting a Shopify API version mismatch warning in my Gadget app logs: Shopify API version in webhook does not match connection API version...