Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the open-source reactive database for app developers.

Join

support-community

show-and-tell

general

self-hosted

announcements

Convex + Composio syncing

hi! i have a convex app which uses composio for agent tools. the issue is that composio has no webhooks for CRUD events for connected accounts/tools currently i use actions to proxy all my requests to hit their api but obviously this makes my source of truth distributed between two services and vanishes all benefits of convex ...

Check if document exists once?

I want to check if a document exists once from my client. I'm running a document management app and before I upload the documents to uploadthing, I want to check if a task containing said documents exists. I created a query, but when using it via "useQuery" I have to define the argument at hook call, but I don't know it until the user submitted it....

Can't rewind to previous messages

I got a properly working app, but on the last message(50th) it hit an error and created a new chat. now I can't rewind to last message. only option I got is to rewind whole previous chat and I'll loose all the progress.any idea on it.

Convex Agent component + AI SDK + Vercel AI elements integration

Hey everyone! I'm working on a side project to test out some patterns and would love to get your thoughts on the best approach. The Application I'm building a basic AI app that lets users query a database with natural language. The database consists of a single table with around 20,000 documents. Think asking questions like "how much electrical capacity is available at this substation" and getting direct database responses. It's just a testing project to explore the limitations of Convex and different AI integration patterns. ...

wrong callback

So I was working with a Nextjs app and I used convex + workOS, it worked fine I even tested with he production environment but when I deployed it started giving me this annoying callback issue so its not actually calling a callback but instead of taking it to my domain it takes me to the internal domain like 0.0.0.0

POST /api/action 404 in 510ms

trying to implement auth with convex, my app is next.js, i'm following a youtube tutorial (AI notes app), and at the end of the auth section, running the signin page and getting this: POST /api/action 404 in 510ms what does that mean, and how to resolve? my convex is running in the background, convex.dev looks green......

TypeError: Cannot read properties of undefined (reading 'logger') while using react convex agent kit

I am using @convex-dev/agent/react in as shown example in the docs. But still getting the error that convexClient is undefined Although if i am using useConvex hook inside my component it's not undefined...

convex auth outside of react

Hi! I noticed that Convex Auth currently only has a React client and the official examples are React-based. The Convex App shows a Node.js basic auth example, but there doesn’t seem to be one for standalone Node. Is there any way to implement Convex Auth in a Node or non-React environment? Or any plans to provide a basic Node example for reference?...

How to "include" relation properly?

is this the best way in convex to "include" an author name?
No description

Bundling for lower targets than ESNext?

Is there a way to change the esbuild target in https://github.com/get-convex/convex-backend/blob/fde777b69781d15c3c67eb2dc61549968f9150b5/npm-packages/convex/src/bundler/debugBundle.ts#L38 ? I've tried using the TS 5.2 dispose functionality and that ends up with an actual using keyword in the bundled code, which then cannot be parsed?
Failed to analyze myFunctions.js: Uncaught SyntaxError: Unexpected identifier 'e'
Failed to analyze myFunctions.js: Uncaught SyntaxError: Unexpected identifier 'e'
...

How to get the type of a component table doc, e.g. the Polar `subscriptions` table

Doc<"subscriptions"> obviously won't work, and Kapa doesn't know either

Function execution timed out (maximum duration: 1s)

I tried to write 10000 * 15 = 150k (or more) row at once (for just testing) then Function execution timed out (maximum duration: 1s) then I tried 5000 * 15 = 75k (or more) then error is ...
No description

Sanity check needed - Cursor blaming 'anyApi' in client-side codegen for build issues.

Sorry if this is the wrong place to put this, I'm just at my witts end troubleshooting this issue I encountered today. Can anyone tell me if this bug report makes sense, and even better if there's actionable steps to resolve it? Bug Report: Convex codegen consistently generates anyApi from convex/server instead of proper client-side API types ...

Convex Workflow Design thoughts -

Ideating through a convert-kit style system and was inspecting the Workflow component. Do you think this is a good choice for a convert-kit style automation system? Some of the questions I have - - Can workflows be defined programatically? Meaning I setup a 'node-based' GUI on the frontend (react flow) and create a workflow from the graph of nodes...

Lost access to convex development environment after account transfer

Hi there, I am a CTO working in Convex and I just tried to move from using my Github account as the login method over to using my company Google account. Production has been moved and is accessible in the new account but my development environment is not. Please help!

Convex High Availability?

Hey all, interested in convex since it was born really but in the last 3months its becoming more and more tempting to make the swap over. Now I run some enterprise grade apps that have real-time requirements (currently leveraging ws) but I'm curious how I could go about self-hosting convex and if there are any guidelines for hosting it across multiple AZs or regions My SLA req. is 99.99 (4 9's) Or even if the Convex Cloud meets this SLA even better but I cant see anything online....

better auth + convex + expo

Can i integrate better auth and convex component in expo apps

File <fileId> not found when incrementing refcount

I have a document to markdown agent that store a file for later converting it to markdown: I store and register the file with the documentToMarkdownAgent like so: ```typescript...

Recommended way to handle calls to multiple tables?

Hey! I've got a couple of tables in my project. For one of the tables, I've got a bunch of query and mutation functions. I'd like to use these exact same functions for other tables as well. In a function like this, for example: ```...

do projects get paused on the free plan?

looking for a way to rapidly test ideas and only pay if something takes off. currently using supabase and they automatically pause projects to "save resources". does Convex do this as well?