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

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....

PDF issue

I know this isn't gadget related, but its related to my gadget app 🙂 It displays a pdf with gadget data, and allows the user to print it using ( ```import { Document, Page,...

Best way to check when computed value changes?

I'm using record.changes/record.changed in an update action to tell when a record value changes and what its prev and new values are. I'm wondering if theres anyway to check when a computed value on a model changes in a similar way please? From my testing, a computed value change does not trigger the update action on that model which I guess is expected as the computed model itself isn't actually updating. In my example, my computed property returns a date from one related model if it is defined, if not it returns a date from another model. When date changes, either by the primary date being defined or the secondary date being changed, I need to trigger an action if the new date is further in the future than the original date (this is why I need the prev and current values)...

Jobs page rendering issue

The opacity gradually increases of the page and it loads extremely slow. I have a feeling something is rapid re-rendering. https://clhom.gadget.app/edit/production/queues/job-D04I5clpLY8i4ZUNzK_yO I think it's happening only on failed jobs. Success jobs do a nice quick fadein animation....
No description

Safari

Ive foudn a terrible memory issue with using chrome on my imac, so I'm in the process of switching to safari, and I see the online code editor doesn't show any code. Is that correct?

No signature provided error when loading routes

When trying to load a route directly I get this error: {"error":"No signature provided","field":"signature"} But if I click into the route from the main app page it loads fine....
No description

Getting 422 Unprocessable Conte

I am getting this error while fetching data from a model through POS UI extensions heres the code const [{ data, fetching, error: queryError }] = useFindMany( api.buyBackProduct,...
No description

background action failedread ECONNRESETRequestError: read ECONNRESET at ClientReques

Getting a strange error ```RequestError: read ECONNRESET at ClientRequest.<anonymous> (/app/node_modules/.pnpm/got@11.8.5_patch_hash=eduueturgwt7dakyfvpwebyjdq/node_modules/got/dist/source/core/index.js:970:111) at /app/nodemodules/.pnpm/@opentelemetry+context-async-hooks@1.27.0@opentelemetry+api@1.9.0/node_modules/@opentelemetry/context-async-hooks/build/src/AbstractAsyncHooksContextManager.js:50:55 at AsyncLocalStorage.run (node:async_hooks:346:14)...