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

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

Error while loading app in Development

Hi, I get this error frequently in development environment but not in production. and it goes away on page refresh. I have been unable to figure out whats the issue. I dont know if its gadget related to heymantle related. Can you please help me? Thank you Uncaught TypeError: Cannot read properties of null (reading 'useState')...

JS Playground - Can I use connections to create a Shopify connection and call Shopify?

Can I call Shopify from the JS playground using const shopifyClient = await connections.shopify.forShopId(shopId);?

Rate limit 10 per minute

Is it possible to enque an action and somehow handle rate limiting if the api endpoint only alows 10 per minute?

update an env variable from a global action

Is it possible to update an env variable from within a global action?