Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

Vercel deployment fails when using `npx convex deploy --cmd '...'`

I've overridden the build command in Vercel when adding my project which is a basic Vite/React 19 project using Convex to be npx convex deploy --cmd='vite build' The error is: ``` āœ— Build failed in 800ms...

Migrating to Convex from RDMS/SQL

I would love to hear about someone's approach moving from a traditional SQL platform to Convex and any patterns or practices they took. For me we run a very large CRM application and would love to move to something like Convex even if it was some type of lift and shift approach. But I would love to hear opinions or approaches anyone has taken. I feel like we could start finding a way to use Convex just for reading data on a small scale but it is when we want to shift to writing is the big question....

Pub/Sub Topic Structure

Does Convex offer any type of pub/sub topic based solution? I have looked at the workflow features and they are close but I do have cases wher eI want to fan out events to additional subscribers. I have used Reddis and Inngest in the past.

Can't deploy to Vercel with Next.js

When I push to vercel and it runs the "npx convex deploy --cmd 'bun run build'", it keeps giving me nextjs's node api errors and telling me to add use node directives but thats for the frontend no? ``` node_modules/next/dist/compiled/gzip-size/index.js:1:2840: 1 │ ...use strict";e.exports=require("fs")},781:e=>{"use strict";e.expo... ╵ ~~~~...

streaming api upsert for json fields send bad request response

I've got my streaming api import working on first upload. But not working on subsequent upload for the exact same data. My table schema got a json field of type: ```typescript allocation: v.record( v.string(),...

Streaming import API takes 3 times longer than regular functions

Just tried the streaming import api and uploaded 100k rows for test. While it was taking 2 min or so with regular queries (for database consistency check) and mutations, it takes 8 min with this import api which is supposed to be faster and more efficient at uploading big dataset than the regular function api. Below the code I am using within an action.

Network issue when using google oauth

Ive setup everything accoring to the docs but i get this issue when i click the sign in button, do you guys have any solution to this i dont know anymore
No description

Failed to step chef environment. Try reloading the pa

I have this problem I don't know how to solve Failed to step chef environment. Try reloading the page...
No description

How long can Convex Actions be run for?

Processing test images with AI can take a lot of time, especially if you are processing multiple images at a time. How long at most can I run actions for, if I process 10 images by gpt-4o-vision for instance, and it needs a lot of time? Is there a way to up this limit? Thank you!

Can i use convex for a excel add-on?

Building an excel add on for the first time with typescript, wondering if I can use convex?

Getting started with Convex and MonoRepo

I am looking at building a project that has the following: - Mobile Expo App - Multiple Next JS applications In the past I always do this in a monorepo, is there anything special I have to do to make the apps use the same generated code? Is there any best practices?...

Is this the correct way of processing data?

I am kinda new to convex and I am experimenting to check if I should migrate my existing app to convex. So I try to migrate the most demanding part of my existing app over to convex. If it can handle that, it can handle everything else to. I just started and created a workflow that truncates a summary table and go recursivly over all the data needed to do processing on to fill back up the summary table....

The model hit an error. Try sending your message again?

No matter how many times I send message again on 'convex chef' it gives same error 'The model hit an error. Try sending your message again?' On dashboard it's shows 'Cache Hit Rate' bar touching 100% how to solve this? Please help me 😭...
No description

TypeScript typecheck via `tsc` failed. with Chef ...smh

I keep getting this error even when starting a new project without much complexity

"Enable edit mode" doesn't seem to work properly/is annoying

Clicking 'Confirm' only makes it so that this dialog does not show up again when I make further edits in the same table (good), but this resets whenever I switch to a different table, and it pops up again (not so good). I don't think this is what 'browser session' is supposed to mean
No description

I wanted to try Chef, on the first request it didn't build, so I kept asking to fix the basic build

I ran out of free credits and it never got to fix the initial bug it created, so I had to add Antropic API, and it reached the limit of the API after two questions, is that normal or I did something very wrong since the beginning?

Few claims are absent in getUserIdentity method's response

Hey) The acr, amr, and auth_time claims are missing, while I see other custom claims. What might be the reason? The query: ``` const identity = await fetchQuery(...

What should I use for processing a large dataset?

I have a dataset containing a +5 million rows. I need to do a lot of calculations on those rows. What should I use? a mutation, action, scheduled job, workflow? I am self hosting and the functions takes more than 10 minutes. That is why I think I need a workflow. Is this right?...

Cant see logs of actions called inside my workflow

When I start a workflow, I see all the logs in the function definition. But when I call queries or mutations from the workflow I dont see the logs. This makes it very hard to debug when writing code. ``` workflow.define({ handler: async (ctx) => {...