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

My request time has skyrocketed

Suddenly today a route blew through my request time. Please check what cause this since its in development and don't even have any users in prod. App url: hide-sort.gadget.app
No description

API Deprecation Fix

Hey! Quick question about API versioning and deprecated webhook fields: We're currently using API version 2024-10 and planning to upgrade to 2025-01 for our Shopify integration via Gadget. The deprecation notice says that privateMetafieldNamespaces will be removed from WebhookSubscriptionInput in 2025-01. If we upgrade the Gadget app to target 2025-01, will Gadget automatically exclude these deprecated privateMetafieldNamespaces from webhook subscriptions? Or will we need to manually update/delete existing webhook subscriptions that still use privateMetafieldNamespaces so it doesnt say "fix by oct 1" in shopify?...
No description

How does one complete bulk queue processing with a global action?

The documentation seems to only reference model actions. However, I would like to accomplish create a bulk queue action in my global action. I've attempted altering the enqueue payload multiple ways and inserted it as an array of objects of what a successful single queue consumes. But the params seem to not get passed through correctly and is undefined....

Custom app block not pushing to production

The problem that I'm facing is that when I deploy from my dev env to my production the theme app extension isnt being released to that production. I tried going into the dev terminal and running yarn shopify app deploy but that was blocked by permissions...
No description

Duplicate API identifier issues after updating app to Shopify 2025-04

Hello, I've just updated my gadget app to use Shopify Admin API 2025-04 from 2025-01 after reading all the docs on how it was a relatively large update with type changes and such. After updating I've got 4 errors in the shopifyLocation model for duplicate API indentifiers. ...
No description

Failed to load PDF document

Hi, I've encountered an error with regards with the uploaded file in Gadget. Just wanted to know if there's any reason behind it on why it somehow corrupted although the source of the file is fine. Thanks in advance!
No description

Logs not appearing

Hi since this morning I am not having any logs visible, I tried all time frame still shows no result found my app is pack-attack-product-order-sync-2.gadget.app...
No description

Integration testing using Cypress / Jest, etc.

Has anyone have any experience / stories to share about testing their embedded Shopify Gadget App using Cypress/Jest/Enzyme ? I wonder, how easy/hard it is to do that. cc @kaiyo...

Cancelling running queues

Is there a way that I can cancel running queues?

Your webhook has been removed

Hi, I got an email from Shopify saying the below and suddenly our webhooks delivery failure rate shot up drastically: Your webhook for orders/updated at https://buymore.gadget.app/api/webhooks/shopify has been removed on 2025-07-08 12:05:29 UTC because it's failing to return a successful response....
No description

How to type the server-side Gadget Context object in React Router 7 loader function?

Example loader function: ```tsx // Server-side loader function export const loader = async ({ params, context }: LoaderFunctionArgs) => {...

Store not syncing

In my app ecomhub.gadget.app the store 5tksuy-bv.myshopify.com has been 9 days without sync. When i press the sync button nothing happens and there are no errors being shown
No description

can anyone tell me how can we display the image that is uploaded on gadget database on the frontend;

here's the image tag: <img class="projects-page__card-image-img" alt="FX project" data-image-url="https%3A%2F%2Fstorage.gadget.dev%2Ffiles%2F236236%2F475731%2Fproject%2Fimage%2FVr42pOVOAJnHg9tU1UR7H%2Fflooringxtra-logo.svg%3FX-Goog-Algorithm%3DGOOG4-RSA-SHA256%26X-Goog-Credential%3Dcore-api%2540gadget-core-production.iam.gserviceaccount.com%252F20250707%252Fauto%252Fstorage%252Fgoog4_request%26X-Goog-Date%3D20250707T141702Z%26X-Goog-Expires%3D10801%26X-Goog-SignedHeaders%3Dhost%26X-Goog-Signature%3D28ec5ff4bcc116d60c408f4e60ca0694796717f500e7fc5c1a275abd92a216ed5f834f11cba978fb4b6674526bfe3c2eb14b2cac45fa4de3359be2f354bbabe15aa64cbe97a86778eb6e25dfb3323ac4a5e0e5af4f126f4d41fe13d97a520c127123d6e6e3cb46762a74658e4be140e103e38ddcc4213aecca2b295908ad2ad67f88b8eacfdfae583dc68d08bc9b6e108272302372ecaa78ca9b7add34e17cb0a6bde27e6168faeba13c6d432b86f785bb29f50ff0cffcfc577797a768a31a35f35c80dfbef3f1ab953faad38a1162b11eaba56d869ec5f8f0b87d2a901dc822decebc65a9832c45321e82aaeb87480806280528bce6c06215a3edc5842fe447" crossorigin="anonymous" referrerpolicy="no-referrer" src="https://storage.gadget.dev/files/236236/475731/project/image/Vr42pOVOAJnHg9tU1UR7H/flooringxtra-logo.svg?X-Goog-Algorithm=GOOG4-RSA-SHA256&amp;X-Goog-Credential=core-api%40gadget-core-production.iam.gserviceaccount.com%2F20250707%2Fauto%2Fstorage%2Fgoog4_request&amp;X-Goog-Date=20250707T141702Z&amp;X-Goog-Expires=10801&amp;X-Goog-SignedHeaders=host&amp;X-Goog-Signature=28ec5ff4bcc116d60c408f4e60ca0694796717f500e7fc5c1a275abd92a216ed5f834f11cba978fb4b6674526bfe3c2eb14b2cac45fa4de3359be2f354bbabe15aa64cbe97a86778eb6e25dfb3323ac4a5e0e5af4f126f4d41fe13d97a520c127123d6e6e3cb46762a74658e4be140e103e38ddcc4213aecca2b295908ad2ad67f88b8eacfdfae583dc68d08bc9b6e108272302372ecaa78ca9b7add34e17cb0a6bde27e6168faeba13c6d432b86f785bb29f50ff0cffcfc577797a768a31a35f35c80dfbef3f1ab953faad38a1162b11eaba56d869ec5f8f0b87d2a901dc822decebc65a9832c45321e82aaeb87480806280528bce6c06215a3edc5842fe447">...
No description

Failed webhook

Been seeing this for a few stores, any idea why and what shoudl I do here?
No description

Gadget API in Purchase Options Extension Permissions Issue

I've created a purchase options extension for my app following this guide: https://shopify.dev/docs/apps/build/purchase-options/purchase-options-extensions/start-building And I setup to use Gadget API for it by using this guide: https://docs.gadget.dev/api/example-app/development/external-api-calls/installing#creating-the-client-for-react-apps In development it works fine, I can access my resources. However, when I deployed extension in Prod when trying to get my resources I get error: Error fetching preorderCampaign: CombinedError: [GraphQL] GGT_PERMISSION_DENIED: The unauthenticated role cannot read preorderCampaign records....
No description

I am using the gadget client in cloudflare and it is working fine in development but giving an error

I keep getting the following error even though I copied and pasted the production development keys multiple times carefully and also made sure it has the correct access scopes: Failed to get shop details: [GraphQL] GGT_INVALID_API_KEY: Invalid API key. Please ensure you're passing an API Key directly copied from the Gadget Editor, which is a string starting with gsk-....

Shopify Sync Issue on ShopifyOrder Model

Hi Gadget Team, I was investigating an issue with our app and found that the native Shopify-to-Gadget sync is failing. Please view the image to see what the error says, but I also provided the trace ID in case you need a closer look. Thank you! Trace-id: 501b4287ae96360f35fe2d965a4e6982...
No description

search related records on autotable

Is it possible to search autoable based on related records? For example searching orders by customer name -> orders by order.customer.name...

New app guidance

I'm building a Shopify app for dropshipping that syncs products and inventory between two types of stores: a supplier store and one or more purchaser stores. Product Sync: This will be a one-way sync from the supplier to the purchaser (i.e., products and details are copied from the supplier to the purchaser). Inventory Sync: This needs to be a two-way sync — whenever inventory is updated on either the supplier or purchaser side, a webhook is triggered to update the other side accordingly. The Problem: If a supplier store is connected to many purchaser stores (e.g., 100), a single sale on one purchaser store could trigger a cascade of webhook updates:...