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

Oauth error missing permissions

I have added more admin api access scopes through gadget and getting oauth missing error
No description

Upsert - [GraphQL] Error: undefined argument

Hi all. I'm trying to upsert shopifyBulkOperation records, but I'm getting the error [GraphQL] Error: undefined argument. I'm not sure what I'm missing here?
No description

Cron Expression is not valid?

Hi why is the cron expression of e.g. every 2hours not working (it also show an error)? I put some logs to check if it will trigger but it didn't although the trigger is working if it is e.g. every 5 mins
No description

Gadget syncing

So I run my own daily sync, and I've just noticed when Gadget makes the GraphQL calls to Shopify, its only using a page limit of 10? Why is this so low when you can request up to 250? Surely this would increase request time as its using a smaller page limit?
No description

How do you access the webhook payload details from an action?

I've setup a webhook as a trigger for my action. I'm wondering how to access the details of the webhook payload in my action?
No description

ERR_GOT_REQUEST_ERROR: Internal error. Looks like something went wrong on our end.

Hi guys. I'm getting this error when trying to make a graphql request from a global action. Can someone help? Request ID: 57d7f2f5-f48d-415a-9022-67f26e4ef63b-1738692757...

Shopify payment authorization

I’ve been building an app for a “Buy Now, Try, and Pay Later” model. To enable this, I set the product price to 0 at checkout. I need a way to charge customers later if they decide to keep the product after the trial....

Upserting limit

When doing an upsert we pass something like on: ['shop', 'date'], so in this case its for daily records against a shop. I'm now introducing another model which will be for a location for a shop daily, so I'll need to do something like on: ['shop', 'date', 'location] Is it acceptable to do more than 2 fields in an upsert? Or is there a proper way to handle this?...

Renaming custom models/fields

If I have an app already deployed to production, installed on stores and contains data, is it possible with Gadget to rename these (in dev and deploy obviously), will it break anything? I obviously will need to update my code to read from the new model, e.g. api.name1 -> api.name2. But in terms of the already stored data, will this break? I suppose the same goes for the fields on a model, can they also be renamed and data not affected?...

Hi I just pushed the gadget update and i am gettinga cors error

Hi I just pushed the gadget update and i am gettinga cors error

Modify product prices on checkout page

Hey team, I am building an app to modify the product prices at the checkout page. I am passing a cart item property to validate and change the price of that product like a buy now pay later app. What should be the recommended approach for this? Should i checkout extension or shopify functions for this? ...

Inventory Level Quantities

Not sure if I'm missing something but once synced into Gadget, the quantities field doesn't seem to be available? Has this been missed by Gadget? https://shopify.dev/docs/api/admin-graphql/2025-01/objects/InventoryLevel#field-quantities...
No description

Did the Shopify GDPR Webhook URLs change?

We've got a couple apps with the webhook urls as: https://app.gadget.dev/connections/webhooks/shopify/{{ uniqueId }} I've just checked the documentation again and it appears that the URLs are now: https://{{ appHandle }}.gadget.app/api/webhooks/shopify...

Invalid Api Key error

Hi, A user tried to install our app and we see these error in our logs: unable to get discountNodes resource...

Access backend API through frontend

Hi, I an new to gadget platform. I was building a feature to tag products from the frontend. I want able to query the products and show them on the frontend. but dont know where to write custom backend logic to tag the products. I need to tag the product select with a same tag....

Can you use react for theme extensions?

Planning on using the vercel AI SDK and use their AI UI which uses react. So hoping I can create the chatbot UI in react and have it as a theme extension so I can use it for multiple stores.

Best way to trigger a sync?

I have actions that run on order creation and order updates, based on whether the external system has stored an ID in the externalPlatformId field (a custom field I added to the order data model). These actions interact with an external system. Now, I want to trigger these actions for all historical orders. How can I accomplish this?...

Deleting existing extensions & adding a new one issue

I forked a project 'wishlist'. It had extensions (UI and online store). I set things up with the shopify CLI. I then deleted the extensions in my IDE. Then I ran 'shopify app create extension' to create a new extension. I gave it a name. I ran 'shopify app dev' and got this message : ...

app proxy from theme app extension

How to use the app proxy to communicate with your backend from a theme app extension?

Fastify maxParamLength option

Is it possible to set the maxParamLength option in a boot/route plugin? Some of my params are over 100 characters long and I need to be able to adjust it, intellisense isn't providing anything super obvious