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

Long-running Convex jobs (16MB limit + 100 item batch constraint

I'm trying to build a background job in convex where we: - loop through a table (~20k projects) - for each, run logic and maybe call an external API (e.g. Fly.io)...

Using Neverthrow with functions

error image attached. example backend code: ```ts import type { QueryCtx, MutationCtx } from '../_generated/server'; import type { Doc } from '../_generated/dataModel';...
No description

Query mutation with high writes?

Am i doing something wrong, this is just a query but show in red( writes) usage? `// Get all completed sessions for the current user export const getAllCompletedSessions = query({ args: {},...
No description

deploy previews - netlify/nuxt

i am currently setting up deploy previews and i am getting to the point where deploys happening successfully, but setting the env variable for the convex url is having trouble... I have the env url (this is being used sometimes when i need to use to create httpClient of convex) it is defined as NUXT_PUBLIC_CONVEX_URL - ...
No description

How does authorization check work on convex-storage?

It seems to me that everything on the filestorage is automaticaly publicly accessible by a url correct? So if a user wanted to upload an image just for himself, private use, it would be better to put it in the db instead of storage right ?! Split it up in 16 MiB chuncs so a query can handle it. ...

Connect Convex MCP to MistralAI

I am interested in connecting a Mistral Agent to the Convex MCP so that it can use the convex functions as tools. Is that feasible? If so, how can I host the MCP server in such a way that the deployed agent can access it? https://docs.mistral.ai/agents/mcp/

Launching dev, but it connects to production

I've been working on a personal app for a while now, and up until today when I've run npx convex dev it's been working with the dev deployment as it should. Today I fixed some things with the production deployment (Vercel), then opened the dev version to keep working on it and noticed that the app was showing the production data. 🤔 Rebooted VS Code. No change. Rebooted my computer. No change....

The new 1.28 npm version broke my code

Everything was working just fine, but the new version broke my code with typescript errors that weren't there before. Specially the integrations with convex-helpers and the migrations component. I find this very annoying, since there was also no documentation whatsoever on how to migrate. PS: I'm a paying customer of convex Professional plan

Is convex deployment down?

When I type convex dev --once, I'm stuck at "Analyzing and deploying source code"

Gemini Search Grounding with Convex Agents

When passing google.tools.googleSearch({}) from @ai-sdk/google as a tool for the Convex agent component, I get this error: ```javascript [CONVEX A(chat:createThread)] Server Error Uncaught Error: Field name $schema starts with a '$', which is reserved....

Websocket closed with code 1011: InternalServerError

Getting this on a preview env where i imported some data from my prod db. 1011 is not a documented error code Is this a convex bug? This is a critical blocker for us....
No description

LangGraph agent in Actions

Anyone have experience with this? Or any agent for that matter. trying to run my langgraph agent in actions but not sure if its designed for that specific use case

Do functions that throw errors cost ? (e.g. not authenticated, ratelimited)

Hi there, so the point of rate limiting is to prevent overloading the db yes, but also to prevent bots from causing too much cost for the developers. Yet to me it seems like the rate liimited functions still cost right ? Whats a better way, to prevent this ? serverside ?...

convex dodopayments component issue

Hey everyone I’m testing the new https://www.convex.dev/components/dodopayments (DodoPayments integration) with Convex. My setup: Next.js + TypeScript...
No description

Use convex in backend and frontend

Hello, how can I use same project in frontend and backend I have problems with schema ✔ 17:30:26 Convex functions ready! (734.61ms) 14/10/2025 17:30:26 [CONVEX Q(instagram:getStats)] Could not find public function for 'instagram:getStats'. Did you forget to run npx convex dev or npx convex deploy?...

Resend component in monorepo

I'm struggling to get the Resend component to work in I'm getting this error: ```...

`convex dashboard` command not working in windows 11

I use windows 11 as main OS, yesterday I used Pop_OS, i noticed- a new tab with convex dashboard opens after dev server start. found in my package.json preved scripit "predev": "convex dev --until-success && convex dashboard",...

Any way to extend agent component schema?

Instead of connecting a thread to a user, I'd like to connect it to a team/org.

Convex Auth and react router v7 question

I know you can use the <Authenticated> tags in a react component but is there no way to check if the user is authenticated inside of react router/remix loaders?

How scalable is convex realy?

So im loving Convex so far. Its realy sweet. Im almost sold. But the biggest question of all: How scalable is it ? e.g. facebook has 383 million facebook users ... searchich a table of 383 user entries must be horrible in terms of performance, so they probably partition their user table and do all other kinds of optimization. With convex on the other hand, who will do that optimization ? Is the backend so genius to just do it all by itself? Are we as developers in charge of making such big tables work (if so how)? Or is the convex team manually optimizing projects as soon as they hit a certain size and generate good revenue for the company? ...