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

Need Help with computed Views

I am using computed views for few models Now when i tried to add a new computed view for a seperate model it's not working I used the same way i did for other computed views which are working fine but the new one doesnt work. Project Name - videoselz...

Renamed the app domain and registered webhooks - didn't rename the endpoint url for all webhooks.

I clicked into Register Webhooks under Installs but it didn't rename all the webhook endpoint urls. https://tapestry-b2b.gadget.app/edit/production/connections/installs Renamed the app domain from clhom to tapestry-b2b....
No description

Is it possible to create an environment via github actions?

Looking into a branch-per-ticket and environment-per-branch type of workflow.

Shopify Sync Often Fails

Dear Gadget Support Team, We are seeing many failed Shopify syncs recently. In the shopifySync model, we found one of these errors in the errorDetails field: - GGT_SHOPIFY_REQUEST_ERROR: Unable to list transactions for shop [storeName].myshopify.com ([shopId])...

How to activate Sentry Profiling ?

We'd like to activate Sentry profiling on getsimio app. Is there a way to do so? (cc @Dodo)

Delete data from Shopify Models for uninstalled merchants

Is there a quick and fast way to delete data of merchants who uninstall the app? I actually have no need to store that data?

Unusual request time spike

Hi, I received an alert saying I have crossed 75% of my request time but in analytics I see that most of it coming from 2 customers and specifically related to sync. Is this normal? Are their ways to optimize sync?...
No description

Calculate action run time

So I have one store thats killing me on request time currently. I have webhook filtering on so I'm only receiving webhooks for inventory_quantity changes (basically a sale). I'm wondering if on Gadgets side (I know you use Axiom too) if you're able to actually give me any information on the time spent for the update action against shopifyProductVariant running. E.g. how long did each action take to run, whats the average run time etc. I'm just trying to figure out why so much time is being spent for this one store. 100 hours in 18 days even with webhook filtering feels incredibly high. ...
No description

Model creation/update hook

I am building a shopify app, I want to connect it with another external api. Basically my idea is to check the user in the external api by email and shopId and then persist in session an accessToken, so the user will be able to call this external api using the token. I tought about doing in the react app when it renders I can just call a useEffect there, but I was wondering if I can hook to shopify oauth or session creation or update, to run this logic. I know I can do it in the install action, but I believe that would only work for the user that installed the app and I want to be able to identify each user separately even if they are from the same shop....

Cannot read properties of undefined (reading 'upsert')

Hi. I created a model where I will upsert some data. But for some reason it gives me an error of undefined reading upsert. What am I doing wrong here?
No description

forShopId in background action is undefined

I am sure we have plenty of tasks that call connections.shopify.forShopId in a background action context to write to our own store, but suddenly it has stopped working in one instance. When I try to run a task that writes to our Shopify store in a background action, the forShopId method of connections.shopify is undefined. connections.shopify is there, it has some properties on it, but not forShopId. Weirdly there is no error generated or logged, the background action says it completed just fine but the action seems to stall / fail quietly....

activity Heartbeat timeout

I keep getting activity Heartbeat timeout
No description

Does Gadget support google ADC?

I was initially calling Gemini, and it was simple to use an environment variable to import the key. But now Gemini is being DDoSed, so I want to call Gemini in Vertex, but Vertex requires gcloud CLI or ADC authentication....

GGT_TRANSACTION_TIMEOUT and 50k actions waiting in queue

Hello, our app is crashing a lot + this error GGT_TRANSACTION_TIMEOUT happens many many times app: getsimio env: production example traceId: 964f88ba966ffa05a517ab4aca244ff2, but there are maaaaany more...

Featured media

I'm pretty sure I had the featured media field added to my shopifyProduct model but it seems to have now disappeared. Was this removed? App is stock-monitor...

GGT_APP_CRASH but I don't understand why

Hello, my app crashes sometimes and I've never managed to understand why. I'd love some help on this. - app: getsimio - environment: production - traceId: 43e1e1bf38adb3e15a09e042a187d186...

Single variant products not being synced?

Hi guys. I have a variant metafield that I need to access from my app. The issue I'm seeing is that products with only one (default) variant are not syncing a variant record to the product variant model. Any way to go about this?...

About webhooks

Just wanted to confirm, if let's say we are syncing company locations from an ERP to shopify, and we have enabled the webhooks in gadget dev, so every time a syncing from ERP to shopify is happening, it will always trigger the webhooks right? Scenario here is I have been updating a company location's checkout settings in gadget app. So if there's any changes in the value of current checkout settings, that's when I do the update else, skip it. But Now that I did that, the request time for webhook of company_locations/update became higher that it was before. It just doesn't make sense. I'm suspecting it because of the ERP to shopify syncing but can't find proof as of the moment....