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

Unsupported Content-Type header, use application/json

const result = await connections.shopify.current?.graphql(mutation);
No description

GGT_FRONTEND_BOOT_ERROR

Hi! In my local, I tried to install the react-cookie package using yarn add; however, after installation, I am seeing type errors. I tried to uninstall it, but the red underlines are not disappearing, and so I tried the reset node_modules folder option in the Gadget online editor, but I got the error in the image.
No description

Unexpected server-side-error (been like this for almost half an hour now)

Hi Team, requesting for your attention please, I am getting this error for almost 30 mins now, I was expecting it will resolve it self however it remains the same, I've done BTS reboot, clear cache etc.
No description

Sudden Spike in usage fees

I see the below for the last billing period, and for this period, I also see a sudden spike every day. Please advise
No description

Is it possible to reduce shopifyCollect resource usage?

For a client's project we are seeing 85% of request time going to shopifyCollect sync. Last month that came to 85 hours of request time, which brought us over our 100 hour plan limit. Our app needs to know at the product level which custom collections it belongs to. We were using the shopifyCollect API to find records, which I've refactored to use shopifyProduct. However, shopifyProduct has a relationship on shopifyCollect on the customCollections field, so it seems our app is still reliant on shopifyCollect. My question is is there a way to reduce the amount of request time for shopifyCollect or does our client just need to pay for more usage?...

Transfer ownership of app

Hi all, I would like to change the ownership of an app to a client. Can you guys help me with this?

No public file access for Shopify embedded apps?

There doesn't appear to be public access to the web folder or any sub folders. Is this intentional for Shopify embedded apps? The AI assistant seems to think so. I'd like to host a few public images for transactional email templates without having to use another service.

I'm having trouble on my dev environment after Shopify API Upgrade

I am having some strange issues on my dom-dev environment on Lantern after updating our Shopify plugin API version. It was working fine yesterday and after deploying this to production, my dev environment now seems stuck in a bad state where it keeps losing the API upgrade. It also keep removing my shopifyCustomer model and seems to be missing all the date now. It seems to work fine in the other dev envs we have though. Not sure what I can do to fix it and any help would be appreciated....

Weather Service API not working

In my Shopiffy app, I have it connected to a weather to pull in the weather based on IP address of the use. In my app I am getting this error. Weather Service Status ❌ Weather service connection failed Please check your API configuration...

Product Thumbnails are breaking in my Shopify App

Hey everyone, I’m building a Shopify app and running into an issue with product images. On a page where users assign tags to products in the app, the product thumbnails aren’t populating. I’m just seeing a broken JPEG icon instead. Has anyone run into this before? Every time I tell the agent to fix it, it doesn't fix and just eats my credits...I am not a coder btw 🙂 Any guidance or examples would be super helpful....

ENDLESS LOOP - Error with createGadgetDevHarness

I've been on vacation for a couple of weeks and returned to a new error: ```Uncaught (in promise) ReferenceError: process is not defined at new nr (<anon>:9090:56) at nr.createGadgetDevHarness (<anon>:9057:28) at nl (<anon>:9628:45)...

Installing app on client's Shopify store

I'm going in round abouts.. I created an awesome app and was able to test it in my dev store. Now I want to install it into my client's existing Shopify store (not part of my Partner Organisation), but I am struggling and hitting roadblocks. I think it was related to the Custom App set-up rather than the public. The app was created under your Partner org, while the merchant store belongs to your client’s org. Shopify blocks cross-org OAuth installs. So I created a new app that's public, but can't add the app to the client's shop as it's not part of my Partner Organisation, nor does my client have a partner account (which her existing store would be related to). ...

AutoForm BelongsTo fields not working

Typescript project. I'm using an AutoForm to create an inventory item, with the model schema depicted. All the Autoform Fields work, except for those that are relational. I get this error:...
No description

Server Side Streaming Support? (SSE)

Hi! I was wondering if the HTTP routes or the actions of gadget support server side streaming? So for example when streaming an LLM response over HTTP SSE?...

B2B Store Credit

Shopify released b2b store credit. Does gadget support that?

How can I create a theme app extension with my gadget app (which is a sales channel)

Hi, are there any docs that explain how I can make a theme app extension? When I create it using the regular shopify CLI do I need to also deploy using cli to be able to view it?

Using logger in post-purchase extension

Hi apologies if this has been asked before, but I couldn't find anything. Is there a way to use the logger from gadget-server in a post-purchase extension? If possible, I would like to avoid calling an endpoint or a global function to do this. Thanks 🙂...

error: no frontend assets found to upload

I can't seem to deploy new changes from our Shopify app. When i deploy the app, i get an error stating 'no frontend assets found to upload'. It used to work before, since the app has already deployed to production before. But now it doesn't for some reason. Can someone help me with this? Thanks! trace: d71877e51479b1ee6fe2e9595425665f app: nathalie-vleeschouwer.gadget.app...

Failed to create index for field

I accidentally deleted my old development environment, so I duplicated a new one based on my current production environment. I then made changes in the new environment, but when I tried to deploy to production, I got an error. What is the correct way to fix this? Do I need to find out which column is causing it or I can force to resync everything from my new environment to product?
No description

Misconfigured production TOML file warning

Hey guys, so we did som fixes over the weekend and were going to deploy it today but we saw this warning. We have not made any changes to the TOML file and we have tripple checked everything, these files are the exact same in dev and in production. In our latest deploy we did not see this warning message that we are seeing today, any tips on what we should look into?...
No description