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

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...

Alternate between email transporters

I want to utilize Gadget and Sendgrid as my email transporter. For certain internal actions I want to use Gadget and for my more customer facing emails I want to user Sendgrid. Also want to utilize Gadget email as a failsafe if sendgrid has issues. I know how to set sendgrid as my transporter, but what do I pass to revert to Gadget? Gadget AI recommended this and it doesn't seem to work....

Shopify App Extension Deployment Issue

│ The Partners GraphQL API responded unsuccessfully with errors: │ │ │ │ [ │ │ { │ │ "message": "This app has been migrated to the new Next-Gen Dev │...

Migrating data between gadget environments

Getting asked to migrate some data from staging environment to prod. Just wondering if anything exists for this already before I start in on it. In my case I have one model that includes an association to a shopifyCustomer model - that's about all I need to migrate for now....

Where would I change test flag to null for allowing appSubscriptionCreate mutation to charge store

Received the shopify welcome email for my recently launched app. In it it has this line "If you intend to charge merchants using your public app, make sure the test flag is set to null. This allows the appSubscriptionCreate mutation to charge the credit card on file." I did not ever set this to test since when use a dev store the charges were waived since it was recognized as a dev store. ...

Uploaded images not working

none of the images I upload work, when i add them through the chat it says its worked but the images just show the not loaded icon is there away of uploading images...

Struggling to preview with theme dev command for theme extension

Hello. I have a gadget app for which I have also created a Shopify theme extension embed. I am running the shopify:dev command, however when I click the link it gives it I get this message: This makes it hard to preview while I build it...
No description

Delivery customization keeps redirecting me to my app homepage

Hello, I'm a pretty new Gadget/Shopify app developer and Ive created an app which has an theme extension and a shopify function. Both are operational, and now I'm stuck on getting the delivery customization function to run/install on its own. When I follow the shopify tutorial running the mutations on the Shopify GraphQL app, the extension is correctly added, but when I remove it and try to add it through clicking it as an option, it just redirects me to my app and is not installed at all. I understand that I need an embedded UI which then runs the mutations when its called, but I can't seem to route correctly and reach it....

Confused about shopifyProduct.status enum (lowercase vs uppercase)

I just upgraded my API version from 2024-10 to 2025-07. Changelog said that three new all-caps values would be added to the enum status field. But I can't find that these are being used? - Created a new product in Shopify => synced via webhook => status is active - Deleted product in gadget; manually synced store => status is again active (this should have been gql sync)...
No description

shopifyCustomer.tags temporarily not in Array form

shopifyCustomer.tags normally comes through as an Array, but I’ve noticed that sometimes it first appears as an empty string or just a string, and then later gets converted into an Array. When using tags in JavaScript, I handled this by checking if it’s an Array, and if it’s an empty string I replace it with[], and if it’s a string I wrap it in an Array. That way, no errors occur. My question is: when using filters in Gadget (e.g. with findMany), will filtering still work correctly even if the value hasn’t yet been converted into Array form at runtime?...

Critical Blocker: Shopify API Scopes & App Bridge Config Sync Failure

Hey @everyone, we're stuck in a critical configuration loop and need expert guidance. The Problem: We have two simultaneous, conflicting errors: Live Shopify Admin: Error: Expected app bridge to be defined in embedded context, but it was not....

Duplicate fields reappearing after deletion

Hello! I’m running into a repeating issue in my Shopify app: https://admin-action-block.gadget.app/ I keep getting errors like: Duplicate API identifier "defaultRole", "contactRoleAssignments"...

Add custom domain to production: goldrestapi.com

Hi Gadget team,
I’d like to add a custom domain to my project.
- Domain: goldrestapi.com
- Gadget subdomain: goldrestapicom.gadget.app ...

"[GraphQL] GGT_INVALID_SHOPIFY_SESSION_TOKEN: Invalid Shopify Session Token passed in Authorization

Error: Misconfigured production toml file I tried reconfiguring shopify plugin again no...

AutoTable Error: [GraphQL] Cannot return null for non-nullable field

I am experiencing this error in Prod sometimes, but when I refresh the page, it disappears. It is weird that it happens in Prod only, and after I tried to query items in the playground with the same select, no errors are showing.
No description

Currency issue on shopify theme

Hello friends, I worked on the shopify theme and used the bundle app for the product. But the compare-at-price has issue. When I used the US currency USD the compare-at-price is right. But when I use the other currency such as Australia AUD or Euro it comes as 0. Anyone has experience in this issue?

Can we integrate our Gadget web app with Microsoft Clarity?

Hello, we have MS Clarity integrated with our shopify store and its been a great help in finding bugs, and understand user behavior on our paltform. We were hoping we could get same insights by adding Clarity JS code into our app in Gadget. Is this possible?

Requesting an image seems slow

Hi, wanted to ask this to understand if there is a way to optimize the speed at which we get images from gadget via a direct URL. At the moment it seems quite slow, so I wanted to ask: are there any options we can attach via the URL so that we get images faster. After looking at the chrome dev tools, I can see that it takes 800ms-1s for a server response. In total the request took 1-1.3 seconds. I noticed this is happening on both the embedded frontend and post-purchase extension....